"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mrbs-1.9.4/web/defaultincludes.inc" between
mrbs-1.9.4.tar.gz and mrbs-1.10.0.tar.gz

About: MRBS is a web application for booking meeting rooms or other resources (using PHP and MySQL/pgsql).

defaultincludes.inc  (mrbs-1.9.4):defaultincludes.inc  (mrbs-1.10.0)
<?php <?php
namespace MRBS; namespace MRBS;
// Check PHP version // Check PHP version
// Do it now before we start including code that might fail with a syntax error, // Do it now before we start including code that might fail with a syntax error,
// for example if anonymous functions are being used. // for example if anonymous functions are being used.
$min_PHP_version = '5.5.0'; $min_PHP_version = '7.2.0';
if (!function_exists('version_compare') || version_compare(PHP_VERSION, $min_PHP _version) < 0) if (!function_exists('version_compare') || version_compare(PHP_VERSION, $min_PHP _version) < 0)
{ {
die("MRBS requires PHP $min_PHP_version or above. This server is running ver sion " . PHP_VERSION . "."); die("MRBS requires PHP $min_PHP_version or above. This server is running ver sion " . PHP_VERSION . ".");
} }
define('MRBS_ROOT', __DIR__); // Root of MRBS installation define('MRBS_ROOT', __DIR__); // Root of MRBS installation
// We use require for some files rather than require_once because the values tha t // We use require for some files rather than require_once because the values tha t
// are assigned to variables will change depending on the context in which the f ile // are assigned to variables will change depending on the context in which the f ile
// is called. // is called.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)