changed to oneliner

This commit is contained in:
Chris
2020-06-06 11:53:22 +02:00
parent dce00906ec
commit a2b7feb6f9

View File

@@ -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);