diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-08-12 08:42:33 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-08-12 08:42:33 +0400 |
commit | d8a152a87b557e93b5a218150fed72945633ccf4 (patch) | |
tree | 229cfc12cde0d27130b745665f9af9a4731a0168 /piwik.php | |
parent | 9d215e8789a34c544319258e8b271bd146c899e3 (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.php | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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__)); |