From 1ef8389c2ef70ac012cd6027c5e4b175f784bf12 Mon Sep 17 00:00:00 2001 From: arjen Date: Sat, 8 Feb 2003 07:38:44 +0000 Subject: [PATCH] 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. --- src/gcm_daemon/gcm_daemon.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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); -*/ } ?> -- 2.11.0