芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/tblonline.org/app/Utilities/Overrider.php
get_option('timezone')]); // Email $email_protocol = get_option('mail_type', 'mail'); config(['mail.default' => $email_protocol]); config(['mail.from.name' => get_option('from_name')]); config(['mail.from.address' => get_option('from_email')]); if ($email_protocol == 'smtp') { config(['mail.mailers.smtp.host' => get_option('smtp_host')]); config(['mail.mailers.smtp.port' => get_option('smtp_port')]); config(['mail.mailers.smtp.username' => get_option('smtp_username')]); config(['mail.mailers.smtp.password' => get_option('smtp_password')]); config(['mail.mailers.smtp.encryption' => get_option('smtp_encryption')]); } } protected static function loadSocialSettings() { //Set Google Login Credentials config(['services.google' => [ 'client_id' => get_option('GOOGLE_CLIENT_ID'), 'client_secret' => get_option('GOOGLE_CLIENT_SECRET'), 'redirect' => url('login/google/callback'), ] ]); //Set Facebook Login Credentials config(['services.facebook' => [ 'client_id' => get_option('FACEBOOK_CLIENT_ID'), 'client_secret' => get_option('FACEBOOK_CLIENT_SECRET'), 'redirect' => url('login/facebook/callback'), ] ]); } }