phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] setup/inc functions.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] setup/inc functions.inc.php
Date: Sun, 01 Oct 2006 10:58:14 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    setup
Changes by:     Dave Hall <skwashd>     06/10/01 10:58:13

Modified files:
        inc            : functions.inc.php 

Log message:
        fix notices about undefined constants by defining the constants earlier 
:)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/setup/inc/functions.inc.php?cvsroot=phpgroupware&r1=1.55&r2=1.56

Patches:
Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/inc/functions.inc.php,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- functions.inc.php   29 Sep 2006 10:21:10 -0000      1.55
+++ functions.inc.php   1 Oct 2006 10:58:13 -0000       1.56
@@ -15,7 +15,7 @@
   *  option) any later version.                                              *
   \**************************************************************************/
 
-  /* $Id: functions.inc.php,v 1.55 2006/09/29 10:21:10 Caeies Exp $ */
+  /* $Id: functions.inc.php,v 1.56 2006/10/01 10:58:13 skwashd Exp $ */
 
        // PHP5 compat fix
        if (version_compare(phpversion(), '5.0') < 0)
@@ -34,6 +34,17 @@
                ');
        }
 
+
+       /**
+       * phpGroupWare Information level "error"
+       */
+       define('PHPGW_E_INFO', -512);
+
+       /**
+       * phpGroupWare debug level "error"
+       */
+       define('PHPGW_E_DEBUG', -1024);
+       
        if ( file_exists('../header.inc.php') )
        {
                require_once('../header.inc.php');
@@ -201,16 +212,6 @@
        }
 
        /**
-       * phpGroupWare Information level "error"
-       */
-       define('PHPGW_E_INFO', -512);
-
-       /**
-       * phpGroupWare debug level "error"
-       */
-       define('PHPGW_E_DEBUG', -1024);
-
-       /**
        * phpGroupWare generic error handler
        *
        * @link http://php.net/set_error_handler




reply via email to

[Prev in Thread] Current Thread [Next in Thread]