Added Deprecated tab to DebugBar to catch future incompatibilities with later Grav versions

This commit is contained in:
Matias Griese
2018-08-24 11:31:51 +03:00
parent 89f64e423d
commit 756ddaa97d
16 changed files with 115 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Grav.Core
*
@@ -7,6 +8,7 @@
*/
namespace Grav;
define('GRAV_PHP_MIN', '5.6.4');
// Ensure vendor libraries exist
@@ -29,7 +31,7 @@ if (version_compare($ver = PHP_VERSION, $req = GRAV_PHP_MIN, '<')) {
}
// Register the auto-loader.
$loader = require_once $autoload;
$loader = require $autoload;
// Set timezone to default, falls back to system if php.ini not set
date_default_timezone_set(@date_default_timezone_get());