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:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-12-22 06:39:50 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-12-22 06:39:50 +0300
commit676c7f4cfc61bdc28824f37f7d2fcffbf45e2a14 (patch)
tree4ccb735cc65869c0377fba2c6dd250bea076cf61 /core/bootstrap.php
parentf172b5924d52cbfda53e7ce23db0bb58da6db0f3 (diff)
Added a comment
Diffstat (limited to 'core/bootstrap.php')
-rw-r--r--core/bootstrap.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/bootstrap.php b/core/bootstrap.php
index d6e809df20..ddb23c6016 100644
--- a/core/bootstrap.php
+++ b/core/bootstrap.php
@@ -1,6 +1,8 @@
<?php
/**
* Bootstraps the Piwik application.
+ *
+ * This file cannot be a class because it needs to be compatible with PHP 4.
*/
if (!defined('PIWIK_USER_PATH')) {
@@ -12,7 +14,7 @@ error_reporting(E_ALL | E_NOTICE);
@ini_set('xdebug.show_exception_trace', 0);
@ini_set('magic_quotes_runtime', 0);
-// NOTE: the code above must be PHP4 compatible
+// NOTE: the code above must be PHP 4 compatible
require_once PIWIK_INCLUDE_PATH . '/core/testMinimumPhpVersion.php';
session_cache_limiter('nocache');