diff --git a/system/init.php b/system/init.php index 8e0871399..9bc145148 100644 --- a/system/init.php +++ b/system/init.php @@ -157,6 +157,13 @@ date_default_timezone_set(setting('core.date_timezone')); +setting( + [ + 'core.account_mail_verify', + setting('core.account_mail_verify') && setting('core.mail_enabled') + ] +); + $settingsItemImagesURL = setting('core.item_images_url'); if($settingsItemImagesURL[strlen($settingsItemImagesURL) - 1] !== '/') { setting(['core.item_images_url', $settingsItemImagesURL . '/']);