Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-08-12 08:42:33 +0400
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-08-12 08:42:33 +0400
commitd8a152a87b557e93b5a218150fed72945633ccf4 (patch)
tree229cfc12cde0d27130b745665f9af9a4731a0168 /piwik.php
parent9d215e8789a34c544319258e8b271bd146c899e3 (diff)
refs #886 - move bootstrap loading to top where it should be;
refs #917 - adding PIWIK_DISPLAY_ERRORS
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/piwik.php b/piwik.php
index 137ee4ac5e..f6be4add9d 100644
--- a/piwik.php
+++ b/piwik.php
@@ -7,15 +7,16 @@
* @version $Id$
*/
+if(file_exists('bootstrap.php'))
+{
+ require_once 'bootstrap.php';
+}
+
$GLOBALS['PIWIK_TRACKER_DEBUG'] = false;
define('PIWIK_TRACKER_MODE', true);
error_reporting(E_ALL|E_NOTICE);
-if(file_exists('bootstrap.php'))
-{
- require_once 'bootstrap.php';
-}
if(!defined('PIWIK_INCLUDE_PATH'))
{
define('PIWIK_INCLUDE_PATH', dirname(__FILE__));