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:
authorrobocoder <anthon.pang@gmail.com>2009-07-29 12:10:18 +0400
committerrobocoder <anthon.pang@gmail.com>2009-07-29 12:10:18 +0400
commit66b8e6d4152455a388d0c2da0aa1a5720eafaf33 (patch)
treecf8a00be6abd31c156b0602fbab306403db0ccfa /index.php
parent083a24b9cb1fc39c4000726e88e168ef2ee27ce3 (diff)
refs #886 - redo and extend change to visit generator and tests config
git-svn-id: http://dev.piwik.org/svn/trunk@1343 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'index.php')
-rw-r--r--index.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/index.php b/index.php
index 1a9d9603ee..16c64ff826 100644
--- a/index.php
+++ b/index.php
@@ -18,15 +18,15 @@ if(ini_get('session.save_handler') == 'user')
@ini_set('session.save_path', '');
}
-define('PIWIK_DOCUMENT_ROOT', dirname(__FILE__));
+if(file_exists('bootstrap.php'))
+{
+ require_once 'bootstrap.php';
+}
if(!defined('PIWIK_INCLUDE_PATH'))
{
define('PIWIK_INCLUDE_PATH', dirname(__FILE__));
- if(file_exists(PIWIK_INCLUDE_PATH . '/bootstrap.php'))
- {
- require_once PIWIK_INCLUDE_PATH . '/bootstrap.php';
- }
}
+define('PIWIK_DOCUMENT_ROOT', dirname(__FILE__));
if((@include "Version.php") === false || !class_exists('Piwik_Version', false))
{