mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:50:12 +00:00
Add routes for current BaseModules
This commit is contained in:
parent
b6b9e57488
commit
07ba1b200c
16 changed files with 806 additions and 722 deletions
|
@ -12,7 +12,6 @@ use Friendica\Model\Photo;
|
|||
use Friendica\Object\Image;
|
||||
use Friendica\Util\HTTPSignature;
|
||||
use Friendica\Util\Proxy as ProxyUtils;
|
||||
use Friendica\Core\Logger;
|
||||
|
||||
/**
|
||||
* @brief Module Proxy
|
||||
|
@ -159,6 +158,7 @@ class Proxy extends BaseModule
|
|||
$sizetype = '';
|
||||
|
||||
// Look for filename in the arguments
|
||||
// @TODO: Replace with parameter from router
|
||||
if (($a->argc > 1) && !isset($_REQUEST['url'])) {
|
||||
if (isset($a->argv[3])) {
|
||||
$url = $a->argv[3];
|
||||
|
@ -169,6 +169,7 @@ class Proxy extends BaseModule
|
|||
}
|
||||
|
||||
/// @TODO: Why? And what about $url in this case?
|
||||
/// @TODO: Replace with parameter from router
|
||||
if (isset($a->argv[3]) && ($a->argv[3] == 'thumb')) {
|
||||
$size = 200;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue