Centralized init
[squirrelmail.git] / plugins / change_password / backend / template.php
index 6f54de22518a3d134d8f04e32d558d7800cc1011..e7b0a8b474fe2c7505beee37f053e098657476fc 100644 (file)
@@ -41,17 +41,6 @@ function cpw_template_init()
 {
     global $color;
 
-    /**
-     * If SM_PATH isn't defined, define it.  Required to include files.
-     * @ignore
-     */
-    if (!defined('SM_PATH'))  {
-        define('SM_PATH','../../../');
-    }
-
-    // load error_box() function
-    include_once(SM_PATH . 'functions/display_messages.php');
-
     // plugin is not configured. Handle error gracefully.
     error_box(_("No valid backend defined."),$color);
     // close html and stop script execution