forked from leftypol/leftypol
Footer version string pulled from .installed
This commit is contained in:
parent
f6a4997780
commit
a88f89a4aa
4 changed files with 7 additions and 3 deletions
|
@ -19,6 +19,10 @@
|
|||
require $board['dir'] . '/config.php';
|
||||
}
|
||||
|
||||
if(!isset($__version))
|
||||
$__version = trim(file_get_contents('.installed'));
|
||||
$config['version'] = $__version;
|
||||
|
||||
if($config['debug']) {
|
||||
if(!isset($debug)) {
|
||||
$debug = Array('sql' => Array(), 'purge' => Array(), 'cached' => Array());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue