aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2015-11-24 01:42:52 +0100
committerVirtualTam <virtualtam@flibidi.net>2015-11-24 01:42:52 +0100
commit4409b9eb0fb318f205ce7311bc41f10cfc716675 (patch)
tree013c6f7c590ed936ca7d3244e1ed89c470500df4 /index.php
parent0def004963c62ff1edfce16272a87ba9f0c87e16 (diff)
parentc9cf2715f0ec10d51d881d386de9fa818f76af46 (diff)
downloadShaarli-4409b9eb0fb318f205ce7311bc41f10cfc716675.tar.gz
Shaarli-4409b9eb0fb318f205ce7311bc41f10cfc716675.tar.zst
Shaarli-4409b9eb0fb318f205ce7311bc41f10cfc716675.zip
Merge pull request #389 from virtualtam/utils/check-php-version
application: move checkPHPVersion from Utils to ApplicationUtils
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 654f7f8f..aae477bf 100644
--- a/index.php
+++ b/index.php
@@ -159,7 +159,7 @@ require_once 'application/Router.php';
159 159
160// Ensure the PHP version is supported 160// Ensure the PHP version is supported
161try { 161try {
162 checkPHPVersion('5.3', PHP_VERSION); 162 ApplicationUtils::checkPHPVersion('5.3', PHP_VERSION);
163} catch(Exception $exc) { 163} catch(Exception $exc) {
164 header('Content-Type: text/plain; charset=utf-8'); 164 header('Content-Type: text/plain; charset=utf-8');
165 echo $exc->getMessage(); 165 echo $exc->getMessage();