Converted all files in functions/ to use SM_PATH. This will break all
[squirrelmail.git] / functions / plugin.php
index 2d9083fbed8fdd89f7cb220df1e1cc033b391580..159fb154982e44b059350419189541fcb7fcad83 100644 (file)
@@ -89,10 +89,10 @@ if (isset($plugins) && is_array($plugins)) {
 
         global $HTTP_USER_AGENT, $SQSPELL_SOUP_NAZI;
         
-        require_once('../plugins/squirrelspell/sqspell_config.php');
+        require_once(SM_PATH . 'plugins/squirrelspell/sqspell_config.php');
 
         $soup_menu = explode( ',', $SQSPELL_SOUP_NAZI );
         return( in_array( trim( $HTTP_USER_AGENT ), $soup_menu ) );
     }
 
-?>
\ No newline at end of file
+?>