diff --git a/install/autoloader.php b/install/autoloader.php index 538cd9d..50af199 100644 --- a/install/autoloader.php +++ b/install/autoloader.php @@ -4,7 +4,7 @@ use Bitrix\Main\ModuleManager; if (!ModuleManager::isModuleInstalled('maximaster.tools')) { - require_once( 'index.php' ); + require_once( __DIR__.'/index.php' ); $moduleInstaller = new maximaster_tools(); $moduleInstaller->DoInstall(); }