From: garvinhicking Date: Sat, 22 Apr 2006 23:41:47 +0000 (+0000) Subject: try to be nice to config.inc.php files X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6ee848121290a98b34a39cda09f0099f3d61fa75;p=s9y.git try to be nice to config.inc.php files --- diff --git a/include/admin/templates.inc.php b/include/admin/templates.inc.php index 557b25e..1e410e9 100644 --- a/include/admin/templates.inc.php +++ b/include/admin/templates.inc.php @@ -61,7 +61,8 @@ if ( @file_exists($serendipity['serendipityPath'] . $serendipity['templatePath'] } echo '

' . STYLE_OPTIONS . '

'; -@include $serendipity['serendipityPath'] . $serendipity['templatePath'] . $serendipity['template'] . '/config.inc.php'; +serendipity_smarty_init(); +include_once $serendipity['serendipityPath'] . $serendipity['templatePath'] . $serendipity['template'] . '/config.inc.php'; if (is_array($template_config)) { if ($serendipity['POST']['adminAction'] == 'configure') {