added re-captcha settings to database
This commit is contained in:
@@ -140,6 +140,16 @@ class Populator {
|
|||||||
Setting::setValue('installed_at', date("Y-m-d H:i:s"));
|
Setting::setValue('installed_at', date("Y-m-d H:i:s"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// set reCaptcha settings
|
||||||
|
$re_captcha = Setting::getValue('re_captcha', array());
|
||||||
|
if(empty($re_captcha)) {
|
||||||
|
Setting::setValue('re_captcha', array(
|
||||||
|
'enabled' => false,
|
||||||
|
'site_token' => '',
|
||||||
|
'secret_token' => ''
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
// reset mailer log
|
// reset mailer log
|
||||||
MailerLog::resetMailerLog();
|
MailerLog::resetMailerLog();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user