diff options
author | robocoder <anthon.pang@gmail.com> | 2009-07-04 18:40:13 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-07-04 18:40:13 +0400 |
commit | bcc1ff3e3d10b15c385304ccd57959122673252a (patch) | |
tree | 49408f4e2b227a1f453eec86664f87a5590bd544 /piwik.php | |
parent | 3c13dee24ca6264e515d40b4fa9c687ff5f54435 (diff) |
Use ini_set() instead of set_include_path() for consistency with index.php.
git-svn-id: http://dev.piwik.org/svn/trunk@1284 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'piwik.php')
-rw-r--r-- | piwik.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,9 +20,9 @@ define('PIWIK_INCLUDE_PATH', dirname(__FILE__)); if((@include "Version.php") === false || !class_exists('Piwik_Version', false)) { - set_include_path(PIWIK_INCLUDE_PATH . '/core' - . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/libs' - . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/plugins'); + ini_set('include_path', PIWIK_INCLUDE_PATH . '/core' + . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/libs' + . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/plugins'); } require_once "Common.php"; |