viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]
diff --git a/src/configs/Config.php b/src/configs/Config.php index 54979973f..28c82ba35 100755 --- a/src/configs/Config.php +++ b/src/configs/Config.php @@ -531,7 +531,7 @@ nsconddefine('TIMEZONE', 'America/Los_Angeles'); */ nsconddefine('SESSION_NAME', "yioopbiscuit"); nsconddefine('CSRF_TOKEN', "YIOOP_TOKEN"); -nsconddefine('AUTOOGOUT', "3600"); +nsconddefine('AUTOLOGOUT', "3600"); /** locations that ads can be placed in search result pages */ nsconddefine('AD_LOCATION', "none"); date_default_timezone_set(TIMEZONE); diff --git a/src/library/UpgradeFunctions.php b/src/library/UpgradeFunctions.php index 2ab0f1303..c2048bcbd 100644 --- a/src/library/UpgradeFunctions.php +++ b/src/library/UpgradeFunctions.php @@ -126,6 +126,7 @@ function upgradePublicHelpWiki(&$db) $page_name, $locale_tag, "edit"); if ($page_content != $page_info['PAGE'] && (in_array($page_info['EDIT_COMMENT'], ['upgrade', 'create']) || + empty($page_info['PUB_DATE']) || $page_info['PUB_DATE'] < 1555802108) ) { $group_model->setPageName(C\ROOT_ID, C\HELP_GROUP_ID, $page_name, $page_content, $locale_tag, "upgrade",