X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Fnodes.php;h=7bb46aec4bba225eae8a025f10e6f1acc8fd45ec;hb=9823a4d3a94132e008b8a65eadf695827d1994ee;hp=063f4e66110a74da4c5e7c9152c0dac1813555b0;hpb=13826e4f1ca35cbce3d20be1131a1b7dbf68ac7b;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/nodes.php b/wwwroot/nodes.php index 063f4e6..7bb46ae 100644 --- a/wwwroot/nodes.php +++ b/wwwroot/nodes.php @@ -119,7 +119,7 @@ $smarty->compile_dir = SYSTEM_DATA.'templates_c/'; $smarty->config_dir = SMARTY_DIR.'configs/'; //XXX neexistuje $smarty->cache_dir = SMARTY_DIR.'cache/'; $smarty->plugins_dir = SMARTY_PLUGIN_DIR ; -if ($_SESSION['debugging']) $smarty->debugging=true; +if (isset($_SESSION['debugging']) && $_SESSION['debugging']) $smarty->debugging=true; // initializing variables // preg_replace prevents LFI @@ -127,7 +127,7 @@ if (empty($_POST['event'])) $event='display'; else $event= preg_replace( "![^a-zA-Z0-9_]+!", "", $_POST['event']); -if ($_SESSION['debugging']) { +if (isset($_SESSION['debugging']) && $_SESSION['debugging']) { echo "
NODE::";
 	print_r($node);
 	echo "
";