diff options
author | VirtualTam <virtualtam@flibidi.net> | 2015-11-24 01:42:52 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-11-24 01:42:52 +0100 |
commit | 4409b9eb0fb318f205ce7311bc41f10cfc716675 (patch) | |
tree | 013c6f7c590ed936ca7d3244e1ed89c470500df4 /index.php | |
parent | 0def004963c62ff1edfce16272a87ba9f0c87e16 (diff) | |
parent | c9cf2715f0ec10d51d881d386de9fa818f76af46 (diff) | |
download | Shaarli-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.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(); |