diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2008-08-04 03:53:22 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2008-08-04 03:53:22 +0400 |
commit | 42b52b6d8a88b3fa4c4f3978c4e7bf00b1eac778 (patch) | |
tree | e60f0a9ebcbc8ab2c9f45031284bec17cc532523 /index.php | |
parent | 6e636d8a92748657ccb1dde7def6ad174a7c8b75 (diff) |
- renamed modules/ directory in core/
- cleaning admin UI
- adding widgetize module
- cleaning template architecture
git-svn-id: http://dev.piwik.org/svn/trunk@586 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -9,7 +9,6 @@ * @package Piwik */ -// NOTE: This file should be PHP4 compatible error_reporting(E_ALL|E_NOTICE); @ini_set('display_errors', 1); @ini_set('magic_quotes_runtime', 0); @@ -21,11 +20,12 @@ if(!defined('PIWIK_INCLUDE_PATH')) set_include_path(PIWIK_INCLUDE_PATH . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/libs/' . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/plugins/' - . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/modules/' + . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/core/' . PATH_SEPARATOR . get_include_path()); -require_once "modules/testMinimumPhpVersion.php"; +require_once "core/testMinimumPhpVersion.php"; +// NOTE: the code above this comment must be PHP4 compatible date_default_timezone_set(date_default_timezone_get()); if(!defined('ENABLE_DISPATCH')) @@ -36,8 +36,8 @@ if(!defined('ENABLE_DISPATCH')) /** * Error / exception handling functions */ -require_once "modules/ErrorHandler.php"; -require_once "modules/ExceptionHandler.php"; +require_once "core/ErrorHandler.php"; +require_once "core/ExceptionHandler.php"; set_error_handler('Piwik_ErrorHandler'); set_exception_handler('Piwik_ExceptionHandler'); |