Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / cron / search_update.php
1 #!/usr/bin/php
2 <?php
3 require('/storage/system/www-root/kyberia.sk/config/config.inc');
4 require(SYSTEM_ROOT.'/inc/database.inc');
5 require(SYSTEM_ROOT.'/inc/senate.inc');
6
7 $db = new CLASS_DATABASE();
8 $db->query('insert into node_content select node_id,node_content from nodes where ( DATE_SUB(CURDATE(),INTERVAL 2 DAY) < node_created OR DATE_SUB(CURDATE(),INTERVAL 2 DAY) < node_updated) ON DUPLICATE KEY UPDATE node_content.node_content = nodes.node_content;');
9 ?>
This page took 0.229414 seconds and 4 git commands to generate.