changeset 1203 | c6587072e4c4 |
parent 1198 | 3ec9ac297045 |
child 1206 | 50f6c144ec68 |
--- a/includes/functions.php Tue Jan 05 09:55:21 2010 -0500 +++ b/includes/functions.php Tue Jan 05 09:56:00 2010 -0500 @@ -1358,6 +1358,10 @@ function enano_version($long = false, $no_nightly = false) { + if ( !defined('ENANO_CONFIG_FETCHED') ) + { + return function_exists('installer_enano_version') ? installer_enano_version() : $GLOBALS['enano_version']; + } $r = getConfig('enano_version'); $rc = ( $long ) ? ' release candidate ' : 'RC'; $b = ( $long ) ? ' beta ' : 'b';