X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=plugins%2Fpassword%2Fpassword.php;h=06e3448f0dfe529d8d1e29ad708f19a4d6f74c93;hb=34132660e336b6d52609d7f596153962e8326f6b;hp=b1c7863fcea7ce7391d97fbd256ce4ade9c6b4dd;hpb=9621398b16a7cee8773b78d1fe9b53248c28a88b;p=roundcube.git diff --git a/plugins/password/password.php b/plugins/password/password.php index b1c7863..06e3448 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -223,7 +223,7 @@ class password extends rcube_plugin { $config = rcmail::get_instance()->config; $driver = $this->home.'/drivers/'.$config->get('password_driver', 'sql').'.php'; - + if (!is_readable($driver)) { raise_error(array( 'code' => 600, @@ -233,7 +233,7 @@ class password extends rcube_plugin ), true, false); return $this->gettext('internalerror'); } - + include($driver); if (!function_exists('password_save')) { @@ -270,5 +270,5 @@ class password extends rcube_plugin } return $reason; - } + } }