mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-11 18:56:21 +00:00
added URI fallback. This enables pictshare to be run directly from "php -S localhost:8000"
This commit is contained in:
@@ -18,4 +18,6 @@ require_once(ROOT . DS . 'content-controllers' . DS. 'video'. DS . 'video.contro
|
|||||||
|
|
||||||
//send the URL to the architect. It'll know what to do
|
//send the URL to the architect. It'll know what to do
|
||||||
$url = $_GET['url'];
|
$url = $_GET['url'];
|
||||||
|
if(!$url)
|
||||||
|
$url = ltrim($_SERVER['REQUEST_URI'],'/');
|
||||||
architect($url);
|
architect($url);
|
||||||
Reference in New Issue
Block a user