X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Fnodes.php;h=2bf47a3fdd72f32d2a42202dfb2bb883d3777b1f;hb=f046f788e8ba60e21b575c89d72cbf91c5210e23;hp=490ee443eb077842539ecac9c9e31e7f826a36ce;hpb=37e8d23972984a127bec7c4faa237e5a80e1068e;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/nodes.php b/wwwroot/nodes.php index 490ee44..2bf47a3 100644 --- a/wwwroot/nodes.php +++ b/wwwroot/nodes.php @@ -97,9 +97,11 @@ if ($_SESSION['debugging']) { //initializing node if (!is_numeric($_GET['node_id'])) { - $_GET['node_id']=WELCOME_NODE; + $_GET['node_id']=WELCOME_NODE; //Tohle uz je v PHP rewritech!!!! } +require_once(INCLUDE_DIR.'logout_idle.inc'); //Logout when idle + $node = nodes::getNodeById($_GET['node_id'],(isset($_SESSION['user_id']))?$_SESSION['user_id']:''); //XXX Paths are wrong (!)