Fixed bug particularly effecting new installations
This commit is contained in:
parent
99979ea41c
commit
c13ce6a35c
@ -22,7 +22,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!isset($__version))
|
if(!isset($__version))
|
||||||
$__version = trim(file_get_contents('.installed'));
|
$__version = file_exists('.installed') ? trim(file_get_contents('.installed')) : false;
|
||||||
$config['version'] = $__version;
|
$config['version'] = $__version;
|
||||||
|
|
||||||
if($config['debug']) {
|
if($config['debug']) {
|
||||||
|
Loading…
Reference in New Issue
Block a user