diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-11-25 17:44:51 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-11-25 17:44:51 +0100 |
commit | e2e2e8f37901eac134b133776f247658f2d33963 (patch) | |
tree | e99487c5f5c1dddba41940695d14f4610de818e0 /plugins/password | |
parent | 9be2f43d02cd54340fc64c9b2cee9cfa94b49034 (diff) |
Use new RCUBE_PLUGINS_DIR constant
Diffstat (limited to 'plugins/password')
-rw-r--r-- | plugins/password/drivers/dbmail.php | 2 | ||||
-rw-r--r-- | plugins/password/drivers/sasl.php | 2 | ||||
-rw-r--r-- | plugins/password/drivers/virtualmin.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/password/drivers/dbmail.php b/plugins/password/drivers/dbmail.php index a7c2f46a3..e4c0d52e3 100644 --- a/plugins/password/drivers/dbmail.php +++ b/plugins/password/drivers/dbmail.php @@ -19,7 +19,7 @@ class rcube_dbmail_password { function password_save($currpass, $newpass) { - $curdir = INSTALL_PATH . 'plugins/password/helpers'; + $curdir = RCUBE_PLUGINS_DIR . 'password/helpers'; $username = escapeshellcmd($_SESSION['username']); $args = rcmail::get_instance()->config->get('password_dbmail_args', ''); diff --git a/plugins/password/drivers/sasl.php b/plugins/password/drivers/sasl.php index 957c1196c..9380cf838 100644 --- a/plugins/password/drivers/sasl.php +++ b/plugins/password/drivers/sasl.php @@ -20,7 +20,7 @@ class rcube_sasl_password { function save($currpass, $newpass) { - $curdir = INSTALL_PATH . 'plugins/password/helpers'; + $curdir = RCUBE_PLUGINS_DIR . 'password/helpers'; $username = escapeshellcmd($_SESSION['username']); $args = rcmail::get_instance()->config->get('password_saslpasswd_args', ''); diff --git a/plugins/password/drivers/virtualmin.php b/plugins/password/drivers/virtualmin.php index f9eca9633..69f1475d4 100644 --- a/plugins/password/drivers/virtualmin.php +++ b/plugins/password/drivers/virtualmin.php @@ -59,7 +59,7 @@ class rcube_virtualmin_password $username = escapeshellcmd($username); $domain = escapeshellcmd($domain); $newpass = escapeshellcmd($newpass); - $curdir = INSTALL_PATH . 'plugins/password/helpers'; + $curdir = RCUBE_PLUGINS_DIR . 'password/helpers'; exec("$curdir/chgvirtualminpasswd modify-user --domain $domain --user $username --pass $newpass", $output, $returnvalue); |