changeset 1262 | 8ebaa6c49745 |
parent 1227 | bdac73ed481e |
--- a/plugins/admin/ThemeManager.php Mon Jul 05 19:52:10 2010 -0400 +++ b/plugins/admin/ThemeManager.php Tue Jul 06 00:51:40 2010 -0400 @@ -327,7 +327,7 @@ if ( !$q ) $db->die_json(); - if ( $theme_data['make_default'] ) + if ( $theme_data['make_default'] && !defined('ENANO_DEMO_MODE') ) { setConfig('theme_default', $theme_data['theme_id']); }