芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/public_html/wp-content/plugins/fluent-smtp/app/Hooks/Handlers/ProviderValidator.php
getProviderValidator($provider, $errors)) { return $validator->validate(); } return $errors; } protected function getProviderValidator($provider, $errors) { $key = $provider['provider']; $path = FluentMail('path.app') . 'Services/Mailer/Providers/' . $key; $file = $path . '/' . 'Validator.php'; if (file_exists($file)) { $ns = 'FluentMail\App\Services\Mailer\Providers\\' . $key; $class = $ns . '\Validator'; if (class_exists($class)) { return new $class($provider, $errors); } } } }