This Patch is EVIL and has SEVERLY security impacts, can lead to people easily putting XSS on your page or changing the config of your blog without requiring a login
Uncommented.
This commit is contained in:
parent
75a9ad7c2c
commit
23b34ba3eb
@ -268,11 +268,11 @@ $template_config = array(
|
||||
)
|
||||
);
|
||||
|
||||
if (isset($_POST['serendipity']['template'])) {
|
||||
$template_loaded_config =$_POST['serendipity']['template'];
|
||||
} else {
|
||||
#if (isset($_POST['serendipity']['template'])) {
|
||||
# $template_loaded_config =$_POST['serendipity']['template'];
|
||||
#} else {
|
||||
$template_loaded_config = serendipity_loadThemeOptions($template_config, $serendipity['smarty_vars']['template_option']);
|
||||
}
|
||||
#}
|
||||
|
||||
$navlinks = array();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user