fix required paths

This commit is contained in:
Marion Muszynski 2017-10-24 10:27:38 +02:00
parent c0f9476da6
commit ef97bdfc53

View File

@ -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
{