mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
FIX: Deprecation
This commit is contained in:
parent
8308ecc94d
commit
ee3a63e029
@ -29,7 +29,8 @@ class TestServer extends BuildTask
|
||||
echo self::success('BASE_PATH: <b>'.BASE_PATH.'</b>');
|
||||
echo self::success('PHP: <b>'.phpversion().'</b>');
|
||||
|
||||
$v = Deprecation::dump_settings()['version'];
|
||||
$v = Deprecation::dump_settings();
|
||||
$v = $v ? $v['version'] : null;
|
||||
if ($v) {
|
||||
echo self::success('SilverStipe version: <b>'.$v.'</b>');
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user