summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/bugs.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-12 13:54:45 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-12 13:54:45 +0000
commit83a4e859f8ae505f06c184eb60577529ff6c4be8 (patch)
treeeea0a263dd79a697205db95f0a3b5600e6aa70c9 /roundcubemail/program/include/bugs.inc
parent1d297be10effab84c7e084bfc70651f99b10e91b (diff)
Changed codebase to PHP5 with autoloader + added some new classes from the devel-vnext branch
git-svn-id: https://svn.roundcube.net/trunk@1291 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/bugs.inc')
-rw-r--r--roundcubemail/program/include/bugs.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/bugs.inc b/roundcubemail/program/include/bugs.inc
index 9d98ef45b..78808c321 100644
--- a/roundcubemail/program/include/bugs.inc
+++ b/roundcubemail/program/include/bugs.inc
@@ -66,7 +66,7 @@ function raise_error($arg=array(), $log=false, $terminate=false)
*/
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 @@ function log_bug($arg_arr)
$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'))