X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Fnodes.php;h=063f4e66110a74da4c5e7c9152c0dac1813555b0;hb=5bd150af8a328f1a3aebfe05c2535da7bbed7667;hp=5b9a9a3b2126639fa67a60b7b1bfa4781bdf17cd;hpb=8f03b4aca1ae066a7fb03e4f5204682932091e08;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/nodes.php b/wwwroot/nodes.php index 5b9a9a3..063f4e6 100644 --- a/wwwroot/nodes.php +++ b/wwwroot/nodes.php @@ -95,6 +95,7 @@ if(isset($_SESSION['debugging']) && $_SESSION['debugging']) { echo 'SESSION VARIABLES::
'; print_r($_SESSION); } else { + $_SESSION['debugging']=false; set_error_handler('logger::error_handler'); } @@ -145,12 +146,12 @@ if (isset($_SESSION['cube_vector']) && ($_SESSION['cube_vector'])) { } } -@include_once(INCLUDE_DIR.'mail_rss.inc'); //haluz... +#@include_once(INCLUDE_DIR.'mail_rss.inc'); //haluz... //checking permissions include_once(BACKEND_DIR.'/'.DB_TYPE.'/permissions.inc'); $permissions=permissions::checkPerms($node); -if ($_SESSION['debugging']) { +if (!empty($_SESSION['debugging']) && $_SESSION['debugging']) { print_r($permissions); }