Changeset:
92167a5bec4a
https://sourceforge.net/p/mrbs/hg-code/ci/92167a5bec4a707618a6d1f423efa087d8c77126
Author:
Campbell Morrison <[email protected]>
Date:
Tue Nov 17 15:55:59 2015 +0000
Log message:
Added a comment
diffstat:
web/defaultincludes.inc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 92a8e3e94cf5 -r 92167a5bec4a web/defaultincludes.inc
--- a/web/defaultincludes.inc Tue Nov 17 15:50:35 2015 +0000
+++ b/web/defaultincludes.inc Tue Nov 17 15:55:59 2015 +0000
@@ -3,6 +3,8 @@
// $Id$
// Check PHP version
+// Do it now before we start including code that might fail with a syntax
error,
+// for example if anonymous functions are being used.
$min_PHP_version = '5.3.3';
if (!function_exists('version_compare') || version_compare(PHP_VERSION,
$min_PHP_version) < 0)
{
------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits