author | Dan Fuhry <dan@enanocms.org> |
Tue, 06 Jul 2010 00:51:40 -0400 | |
changeset 1262 | 8ebaa6c49745 |
parent 1261 | beb0da036222 |
child 1263 | eb717f5c283f |
--- 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']); }