minify_html with web editor

This commit is contained in:
Michael Save 2012-02-07 00:45:32 +11:00
parent f8a1fe5ad1
commit 01e15e2a7f

View File

@ -1855,6 +1855,8 @@
header('Location: ?/config' . $b['uri'], true, $config['redirect_http']); header('Location: ?/config' . $b['uri'], true, $config['redirect_http']);
exit; exit;
} else { } else {
if($config['minify_html'])
$config_append = str_replace("\n", '
', $config_append);
$page = Array(); $page = Array();
$page['title'] = 'Cannot write to file!'; $page['title'] = 'Cannot write to file!';
$page['config'] = $config; $page['config'] = $config;