mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-11 18:56:21 +00:00
changed to oneliner
This commit is contained in:
@@ -17,7 +17,5 @@ require_once(ROOT . DS . 'content-controllers' . DS. 'video'. DS . 'video.contro
|
||||
|
||||
|
||||
//send the URL to the architect. It'll know what to do
|
||||
$url = $_GET['url'];
|
||||
if(!$url)
|
||||
$url = ltrim($_SERVER['REQUEST_URI'],'/');
|
||||
$url = $_GET['url']?$_GET['url']:ltrim($_SERVER['REQUEST_URI'],'/');
|
||||
architect($url);
|
||||
Reference in New Issue
Block a user