]> git.mjollnir.org Git - s9y.git/commitdiff
BP: Applied patch by Abdussammad to config.inc.php which makes it obsolete to reload...
authoryellowled <yellowled>
Mon, 14 Apr 2008 05:23:23 +0000 (05:23 +0000)
committeryellowled <yellowled>
Mon, 14 Apr 2008 05:23:23 +0000 (05:23 +0000)
templates/bulletproof/config.inc.php

index 2a355cdd30e57506fd251c409ee59f3d7abf7940..b9e7b2bf1251e02da00c2e4dcf6e39a41ebbbd0a 100644 (file)
@@ -268,7 +268,11 @@ $template_config = array(
     )\r
 );\r
 \r
-$template_loaded_config = &serendipity_loadThemeOptions($template_config, $serendipity['smarty_vars']['template_option']);\r
+if (isset($_POST['serendipity']['template'])) {\r
+  $template_loaded_config =$_POST['serendipity']['template'];\r
+} else {\r
+  $template_loaded_config = serendipity_loadThemeOptions($template_config, $serendipity['smarty_vars']['template_option']);\r
+}\r
 \r
 $navlinks = array();\r
 \r