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 'core/testMinimumPhpVersion.php')
-rw-r--r--core/testMinimumPhpVersion.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/testMinimumPhpVersion.php b/core/testMinimumPhpVersion.php
index bd28c3fe72..36a6ac1f1f 100644
--- a/core/testMinimumPhpVersion.php
+++ b/core/testMinimumPhpVersion.php
@@ -10,6 +10,9 @@
* @package Piwik
*/
+// no direct access
+defined('PIWIK_INCLUDE_PATH') or die;
+
/**
* This file is executed before anything else.
* It checks the minimum PHP version required to run Piwik.
@@ -45,7 +48,7 @@ function Piwik_ExitWithMessage($message, $optionalTrace = false, $optionalLinks
{
if($optionalTrace)
{
- $optionalTrace = '<font color="#888888">Backtrace:<br /><pre>'.$optionalTrace.'</pre></font>';
+ $optionalTrace = '<font color="#888888">Backtrace:<br/><pre>'.$optionalTrace.'</pre></font>';
}
if($optionalLinks)
{
@@ -66,7 +69,6 @@ function Piwik_ExitWithMessage($message, $optionalTrace = false, $optionalLinks
exit;
}
-// added in PHP 4.3.0
if (!function_exists('file_get_contents'))
{
function file_get_contents($filename)