Add a new hook to the plugin to enable backends to perform any
[squirrelmail.git] / plugins / change_password / functions.php
index 3bd0a0f..e9cf52f 100644 (file)
@@ -90,6 +90,6 @@ function cpw_do_change()
 
     /* make sure we write the session data before we redirect */
     session_write_close();
-    header('Location: '.get_location(). '/options.php?optmode=submit&plugin_change_password=1');
+    header('Location: '.SM_PATH. 'src/options.php?optmode=submit&plugin_change_password=1');
     exit;
 }