aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2015-11-24 01:36:12 +0100
committerVirtualTam <virtualtam@flibidi.net>2015-11-24 01:40:44 +0100
commitc9cf2715f0ec10d51d881d386de9fa818f76af46 (patch)
tree013c6f7c590ed936ca7d3244e1ed89c470500df4 /index.php
parent0def004963c62ff1edfce16272a87ba9f0c87e16 (diff)
downloadShaarli-c9cf2715f0ec10d51d881d386de9fa818f76af46.tar.gz
Shaarli-c9cf2715f0ec10d51d881d386de9fa818f76af46.tar.zst
Shaarli-c9cf2715f0ec10d51d881d386de9fa818f76af46.zip
application: move checkPHPVersion from Utils to ApplicationUtils
Relates to #372 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
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();