From: arjen Date: Sat, 8 Feb 2003 07:38:44 +0000 (+0000) Subject: Added new table to the database : log_adv_daemon, database version = 24 X-Git-Tag: V0_0_5~31 X-Git-Url: http://www.andromeda.nl/gitweb/?p=gnucomo.git;a=commitdiff_plain;h=1ef8389c2ef70ac012cd6027c5e4b175f784bf12 Added new table to the database : log_adv_daemon, database version = 24 Made gcm_daemon a 'proper' executable. Paths of included files are more flexible. --- diff --git a/src/gcm_daemon/gcm_daemon.php b/src/gcm_daemon/gcm_daemon.php index 2cc1da2..bc0547a 100755 --- a/src/gcm_daemon/gcm_daemon.php +++ b/src/gcm_daemon/gcm_daemon.php @@ -1,3 +1,4 @@ +#!/usr/bin/php fetch_row() == "TRUE") { //Update the database to the most recent version. if ($active_version < $db_version) { - include ("classes/gnucomo_db_version.php"); + include ("gnucomo_db_version.php"); } } else { syslog (LOG_INFO, "Couldn't initialize database version. Is this a gnucomo database?"); @@ -226,11 +231,6 @@ function process_log () { } else { die ("done"); } -/* - //close the transaction - $local_working = "COMMIT"; - $dbms_working->query($local_working); -*/ } ?>