Fixed bug particularly effecting new installations

This commit is contained in:
Savetheinternet 2011-11-09 13:44:34 +11:00
parent 99979ea41c
commit c13ce6a35c

View File

@ -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']) {