From cd4a4543cf8dd3d0534cf7e51032aea1605d0304 Mon Sep 17 00:00:00 2001 From: anuko Date: Tue, 9 Jan 2018 18:06:05 +0000 Subject: [PATCH] Increased required PHP version to 5.4 because of week view issue. --- WEB-INF/templates/footer.tpl | 2 +- dbinstall.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index d219a64a..3cff2af8 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.13.11.3736 | Copyright © Anuko | +  Anuko Time Tracker 1.13.11.3737 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/dbinstall.php b/dbinstall.php index 6195c396..2b0d896c 100755 --- a/dbinstall.php +++ b/dbinstall.php @@ -78,7 +78,9 @@ if ($request->isGet()) { } // Check if PHP version is good enough. - $required_version = '5.2.1'; // Something in TCPDF library does not work below this one. + // $required_version = '5.2.1'; // Something in TCPDF library does not work below this one. + $required_version = '5.4.0'; // Week view (week.php) requires 5.4 because of []-way of referencing arrays. + // This needs further investigation as we use [] elsewhere without obvious problems. if (version_compare(phpversion(), $required_version, '>=')) { echo('PHP version: '.phpversion().', good enough.
'); } else { -- 2.20.1