So, grinding_halt() now finally uses the new default theme in template_nodb.
authorDan Fuhry <dan@enanocms.org>
Sun, 05 Sep 2010 16:03:57 -0400
changeset 1299 29601ba3c448
parent 1298 510187db2b32
child 1300 1f97ee3ec614
So, grinding_halt() now finally uses the new default theme in template_nodb.
includes/functions.php
--- a/includes/functions.php	Sun Sep 05 16:02:16 2010 -0400
+++ b/includes/functions.php	Sun Sep 05 16:03:57 2010 -0400
@@ -598,7 +598,7 @@
 	if ( !is_object($template) )
 	{
 		$template = new template_nodb();
-		$template->load_theme('oxygen', 'bleu', false);
+		$template->load_theme('enanium', 'babygrand', false);
 		$template->assign_vars(array(
 				'SITE_NAME' => 'Enano',
 				'SITE_DESC' => 'This site is experiencing a critical error and cannot load.',
@@ -1029,8 +1029,8 @@
 		echo "$p\n";
 		exit(1);
 	}
-	$theme = ( defined('ENANO_CONFIG_FETCHED') ) ? getConfig('theme_default') : 'oxygen';
-	$style = ( defined('ENANO_CONFIG_FETCHED') ) ? '__foo__' : 'bleu';
+	$theme = ( defined('ENANO_CONFIG_FETCHED') ) ? getConfig('theme_default') : 'enanium';
+	$style = ( defined('ENANO_CONFIG_FETCHED') ) ? '__foo__' : 'babygrand';
 	
 	$tpl = new template_nodb();
 	$tpl->load_theme($theme, $style);
@@ -1369,7 +1369,7 @@
 {
 	if ( !defined('ENANO_CONFIG_FETCHED') )
 	{
-		return function_exists('installer_enano_version') ? installer_enano_version() : $GLOBALS['enano_version'];
+		return function_exists('installer_enano_version') ? installer_enano_version() : $GLOBALS['version'];
 	}
 	$r = getConfig('enano_version');
 	$rc = ( $long ) ? ' release candidate ' : 'RC';