From 78c95c09f05e4fa12b66bd27714ce4889a892c21 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 3 Oct 2013 22:30:58 +0200 Subject: Fixed referencing and constants. * Creating a varaible reference at call time is not possbile any more. * When defining a constant, we pass the name as a string now. --- ratatoeskr/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatoeskr/main.php') diff --git a/ratatoeskr/main.php b/ratatoeskr/main.php index f1a641f..4fd22de 100644 --- a/ratatoeskr/main.php +++ b/ratatoeskr/main.php @@ -94,7 +94,7 @@ function _ratatoeskr() echo $ste->exectemplate("/systemtemplates/error.html"); })); - $urlpath = explode("/", $_GET["action"]); + $urlpath = explode("/", @$_GET["action"]); $rel_path_to_root = implode("/", array_merge(array("."), array_repeat("..", count($urlpath) - 1))); $GLOBALS["rel_path_to_root"] = $rel_path_to_root; $data = array("rel_path_to_root" => $rel_path_to_root); -- cgit v1.2.3-70-g09d2