Added errors.inc inclusion in isession.inc
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Wed, 8 Dec 2010 13:27:11 +0000 (13:27 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Wed, 8 Dec 2010 13:27:11 +0000 (13:27 +0000)
CHANGELOG.txt
install/isession.inc

index abe22c68e9056752c28cbfc705d8b8432105dd2d..c392b0a3e3031aea14b460b132f77aab99951009 100644 (file)
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+08-Dec-2010 Janusz Dobrowolski
+# Added errors.inc inclusion
+$ /install/isession.inc
+
 07-Dec-2010 Janusz Dobrowolski
 # Missing tags argument in display_type call
 $ /reporting/rep705.php
index 7492838f7eab3145c125b752b1cfbc6d5e947cb2..314da9d83818ca098e347af32f3ff8134550ee3e 100644 (file)
@@ -52,6 +52,10 @@ if (!isset($path_to_root))
 if (isset($_GET['path_to_root']) || isset($_POST['path_to_root']))
        die("Restricted access");
 
+include_once($path_to_root . "/includes/errors.inc");
+// collect all error msgs
+set_error_handler('error_handler' /*, errtypes */);
+
 include_once($path_to_root . "/includes/current_user.inc");
 include_once($path_to_root . "/includes/lang/language.php");
 include_once($path_to_root . "/includes/ajax.inc");
@@ -118,9 +122,6 @@ $Pagehelp = array();
 register_shutdown_function('end_flush');
 ob_start('output_html',0);
 
-// colect all error msgs
-set_error_handler('error_handler' /*, errtypes */);
-
 if (!isset($_SESSION["wa_current_user"]))
        $_SESSION["wa_current_user"] = new current_user();