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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-01-15 04:45:41 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-01-15 04:45:41 +0300
commit24e2f2556d3a410456dcc2a14eb3772439eecfad (patch)
tree16f40dc98abc0278a147ee721b1654f93731079a
parent8866a35f611734d3c21aa38b107dd5ef8d9dbdda (diff)
- added minimum version test FIX #13
-rwxr-xr-xindex.php11
-rw-r--r--modules/FrontController.php1
2 files changed, 8 insertions, 4 deletions
diff --git a/index.php b/index.php
index 6373e7ba19..cba9c6d821 100755
--- a/index.php
+++ b/index.php
@@ -6,18 +6,23 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
* @version $Id$
*/
+
/**
* PHP Configuration init
- */
+ */
+
error_reporting(E_ALL|E_NOTICE);
@ini_set('display_errors', 1);
-@ini_set('magic_quotes_runtime', 0);
-date_default_timezone_set('Europe/London');
+@ini_set('magic_quotes_runtime', 0);
if(!defined('PIWIK_INCLUDE_PATH'))
{
define('PIWIK_INCLUDE_PATH', '.');
}
+require_once PIWIK_INCLUDE_PATH . "/modules/testMinimumPhpVersion.php";
+
+
+date_default_timezone_set('Europe/London');
if(!defined('ENABLE_DISPATCH'))
{
define('ENABLE_DISPATCH', true);
diff --git a/modules/FrontController.php b/modules/FrontController.php
index 4ad7ef66cf..67767eaffc 100644
--- a/modules/FrontController.php
+++ b/modules/FrontController.php
@@ -177,7 +177,6 @@ class Piwik_FrontController
</body>
</html>
-
';
print($html);