diff --git a/modules/ant_resetbopassword/ant_resetbopassword.php b/modules/ant_resetbopassword/ant_resetbopassword.php index 60c4a7a7..4a8d4189 100644 --- a/modules/ant_resetbopassword/ant_resetbopassword.php +++ b/modules/ant_resetbopassword/ant_resetbopassword.php @@ -2,7 +2,12 @@ if (!defined('_PS_VERSION_')) exit; -require_once(PS_ADMIN_DIR . '/helpers/HelperFormBootstrap.php'); +if (defined('PS_ADMIN_DIR')) +{ + require_once(PS_ADMIN_DIR . '/helpers/HelperFormBootstrap.php'); +} else { + require_once(realpath(dirname(__FILE__) .'/../../').'/adm/helpers/HelperFormBootstrap.php'); +} class Ant_Resetbopassword extends Module {