Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / cron / logoutidle.php
CommitLineData
b42b2bf9
H
1#!/usr/bin/php
2<?php
3//require('/storage/system/www-docroot/kyberia.sk/config/config.inc');
4require('/home/freezy/kyb/config/config.inc');
5//connecting to database and creating universal $db object
6//require(SYSTEM_ROOT.'/inc/log.inc');
7//require(SYSTEM_ROOT.'/inc/database.inc');
8//require(SYSTEM_ROOT.'/inc/nodes.inc');
9//require('/storage/system/www-docroot/kyberia.sk/inc/log.inc');
10//require('/storage/system/www-docroot/kyberia.sk/inc/database.inc');
11require('/home/freezy/kyb/inc/database.inc');
12//require('/storage/system/www-docroot/kyberia.sk/inc/nodes.inc');
13$db=new CLASS_DATABASE();
14$db->query("update users set user_action=NULL,user_action_id=NULL,user_location_vector=NULL where unix_timestamp()-3600>unix_timestamp(last_action)");
15?>
This page took 0.223095 seconds and 4 git commands to generate.