diff options
author | VirtualTam <virtualtam@flibidi.net> | 2015-11-24 01:36:12 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-11-24 01:40:44 +0100 |
commit | c9cf2715f0ec10d51d881d386de9fa818f76af46 (patch) | |
tree | 013c6f7c590ed936ca7d3244e1ed89c470500df4 /index.php | |
parent | 0def004963c62ff1edfce16272a87ba9f0c87e16 (diff) | |
download | Shaarli-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
161 | try { | 161 | try { |
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(); |