diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-03-26 06:40:09 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-03-26 06:40:09 +0300 |
commit | c5d8311f09acf147f0b7230d2dff73cb9b829ac0 (patch) | |
tree | 87cd2e4f577b940bfbbd45aef1e855d37f46d0f5 /misc | |
parent | d9307c25c4e38b7823afa835f4fdd86eda2ab47a (diff) |
- renaming all constants that were not prefixed by PIWIK_ refs #632
Diffstat (limited to 'misc')
-rw-r--r-- | misc/api_internal_call.php | 4 | ||||
-rw-r--r-- | misc/generateVisits.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/misc/api_internal_call.php b/misc/api_internal_call.php index fc88303d75..dca3ec3732 100644 --- a/misc/api_internal_call.php +++ b/misc/api_internal_call.php @@ -1,7 +1,7 @@ <?php define('PIWIK_INCLUDE_PATH', '..'); -define('ENABLE_DISPATCH', false); -define('ENABLE_ERROR_HANDLER', false); +define('PIWIK_ENABLE_DISPATCH', false); +define('PIWIK_ENABLE_ERROR_HANDLER', false); require_once PIWIK_INCLUDE_PATH . "/index.php"; require_once PIWIK_INCLUDE_PATH . "/core/API/Request.php"; diff --git a/misc/generateVisits.php b/misc/generateVisits.php index 09f7bb33fa..7e87c1257e 100644 --- a/misc/generateVisits.php +++ b/misc/generateVisits.php @@ -23,7 +23,7 @@ $GLOBALS['DEBUGPIWIK'] = false; ob_start(); // first check that user has privileges to create some random data in the DB -> he must be super user -define('ENABLE_DISPATCH', false); +define('PIWIK_ENABLE_DISPATCH', false); require_once "index.php"; require_once "FrontController.php"; |