From 47124c2279382714afd8dbe4a867a867ea179199 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sat, 12 Apr 2008 09:54:45 -0400 Subject: [PATCH] Changed codebase to PHP5 with autoloader + added some new classes from the devel-vnext branch --- program/include/bugs.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/bugs.inc b/program/include/bugs.inc index 9d98ef4..78808c3 100644 --- a/program/include/bugs.inc +++ b/program/include/bugs.inc @@ -66,7 +66,7 @@ */ function log_bug($arg_arr) { - global $CONFIG, $INSTALL_PATH; + global $CONFIG; $program = $arg_arr['type']=='xpath' ? 'XPath' : strtoupper($arg_arr['type']); // write error to local log file @@ -81,7 +81,7 @@ $arg_arr['line']); if (empty($CONFIG['log_dir'])) - $CONFIG['log_dir'] = $INSTALL_PATH.'logs'; + $CONFIG['log_dir'] = INSTALL_PATH.'logs'; // try to open specific log file for writing if ($fp = @fopen($CONFIG['log_dir'].'/errors', 'a')) -- Gitblit v1.9.1