X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Ftranslate%2Foptions.php;h=2288a4441d38f0c75e67cfab5ac70ab10b60e46c;hp=ae55cb997c7d572b605cae7d338b0b622e35bf70;hb=5c325683cbdd9f91a91ed24078b2ffd1a0bc90ce;hpb=8d6a115b0ef06dbcf9b149ba2509208f09b3a2ab diff --git a/plugins/translate/options.php b/plugins/translate/options.php index ae55cb99..2288a444 100644 --- a/plugins/translate/options.php +++ b/plugins/translate/options.php @@ -12,7 +12,8 @@ */ /* Path for SquirrelMail required files. */ -define('SM_PATH','../../'); +chdir('..'); +define('SM_PATH','../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php');