Automatic idle logout without cron
[mirrors/Kyberia-bloodline.git] / wwwroot / nodes.php
index 490ee443eb077842539ecac9c9e31e7f826a36ce..2bf47a3fdd72f32d2a42202dfb2bb883d3777b1f 100644 (file)
@@ -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 (!)
This page took 0.138547 seconds and 4 git commands to generate.