From e4de299133def1b094d849847568a86ab5a8a084 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 11 Dec 2022 21:15:50 +0100 Subject: [PATCH] oups miss this serialise functions --- _config.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_config.php b/_config.php index 8f58882..15ac429 100644 --- a/_config.php +++ b/_config.php @@ -27,8 +27,8 @@ $bhv_pub_upd = (int) $s->bhv_pub_upd; $update_limit = (int) $s->update_limit; $keep_empty_feed = (bool) $s->keep_empty_feed; $tag_case = (int) $s->tag_case; -$post_full_tpl = @unserialize($s->post_full_tpl); -$post_title_redir = @unserialize($s->post_title_redir); +$post_full_tpl = json_decode($s->post_full_tpl); +$post_title_redir = json_decode($s->post_title_redir); $feeduser = (string) $s->user; if ($update_limit < 1) { @@ -68,8 +68,8 @@ if (!empty($_POST['save'])) { $s->put('update_limit', $limit); $s->put('keep_empty_feed', $keep_empty_feed); $s->put('tag_case', $tag_case); - $s->put('post_full_tpl', serialize($post_full_tpl)); - $s->put('post_title_redir', serialize($post_title_redir)); + $s->put('post_full_tpl', json_encode($post_full_tpl)); + $s->put('post_title_redir', json_encode($post_title_redir)); $s->put('user', $feeduser); dcCore::app()->blog->triggerBlog();