From: anuko Date: Tue, 9 Jan 2018 18:06:05 +0000 (+0000) Subject: Increased required PHP version to 5.4 because of week view issue. X-Git-Tag: timetracker_1.19-1~1384 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=cd4a4543cf8dd3d0534cf7e51032aea1605d0304;p=timetracker.git Increased required PHP version to 5.4 because of week view issue. --- 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 {