Use new RCUBE_PLUGINS_DIR constant
| | |
| | | { |
| | | 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', ''); |
| | | |
| | |
| | | { |
| | | 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', ''); |
| | | |
| | |
| | | $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); |
| | | |
| | |
| | | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| | | */ |
| | | |
| | | require_once(INSTALL_PATH . 'plugins/filesystem_attachments/filesystem_attachments.php'); |
| | | require_once(RCUBE_PLUGINS_DIR . 'filesystem_attachments/filesystem_attachments.php'); |
| | | |
| | | class redundant_attachments extends filesystem_attachments |
| | | { |