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:
Diffstat (limited to 'modules/testMinimumPhpVersion.php')
-rw-r--r--modules/testMinimumPhpVersion.php58
1 files changed, 29 insertions, 29 deletions
diff --git a/modules/testMinimumPhpVersion.php b/modules/testMinimumPhpVersion.php
index 00e6f1dd4f..6203a81b61 100644
--- a/modules/testMinimumPhpVersion.php
+++ b/modules/testMinimumPhpVersion.php
@@ -1,31 +1,31 @@
-<?php
-/**
- * Piwik - Open source web analytics
- *
- * @link http://piwik.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
- * @version $Id: Common.php 168 2008-01-14 05:26:43Z matt $
- *
- * @package Piwik
- */
-
-/**
- * This file is executed before anything else. It checks the minimum Php version required to run Piwik.
- * This is done here because on PHP4 piwik would output an error directly.
- * Let's try to be user friendly :)
- *
- * @package Piwik
- */
-
-// we prefix the global variables
-$piwik_minimumPhpVersion = '5.1.3';
-$piwik_currentVersion = phpversion();
-
-if( version_compare($piwik_minimumPhpVersion , $piwik_currentVersion ) >= 0 )
-{
- $piwik_errorMessage = "<p><b>To run Piwik you need at least PHP version $piwik_minimumPhpVersion </b></p>
- <p>Unfortunately it seems your webserver is using PHP version $piwik_currentVersion. </p>
- <p>Please try to update your PHP version, Piwik is really worth it! Nowadays most web hosts
+<?php
+/**
+ * Piwik - Open source web analytics
+ *
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id: Common.php 168 2008-01-14 05:26:43Z matt $
+ *
+ * @package Piwik
+ */
+
+/**
+ * This file is executed before anything else. It checks the minimum Php version required to run Piwik.
+ * This is done here because on PHP4 piwik would output an error directly.
+ * Let's try to be user friendly :)
+ *
+ * @package Piwik
+ */
+
+// we prefix the global variables
+$piwik_minimumPhpVersion = '5.1.3';
+$piwik_currentVersion = phpversion();
+
+if( version_compare($piwik_minimumPhpVersion , $piwik_currentVersion ) >= 0 )
+{
+ $piwik_errorMessage = "<p><b>To run Piwik you need at least PHP version $piwik_minimumPhpVersion </b></p>
+ <p>Unfortunately it seems your webserver is using PHP version $piwik_currentVersion. </p>
+ <p>Please try to update your PHP version, Piwik is really worth it! Nowadays most web hosts
support PHP $piwik_minimumPhpVersion. </p>";
}
@@ -89,7 +89,7 @@ function Piwik_ExitWithMessage($message)
if(isset($piwik_errorMessage))
{
- Piwik_ExitWithMessage($piwik_errorMessage);
+ Piwik_ExitWithMessage($piwik_errorMessage);
}