MDL-57432 installation: Fix to the php version check.

This commit is contained in:
Adrian Greeve 2017-07-12 10:39:20 +08:00
parent afabbd110e
commit 24a7acf354

View File

@ -62,7 +62,7 @@ date_default_timezone_set(@date_default_timezone_get());
@ini_set('display_errors', '1');
// Check that PHP is of a sufficient version as soon as possible.
require_once(__DIR__.'/../../lib/phpminimumversionlib.php');
require_once(__DIR__.'/lib/phpminimumversionlib.php');
moodle_require_minimum_php_version();
// make sure iconv is available and actually works