Alex Trofimov 12 سال پیش
والد
کامیت
094f8dbafc
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      install/cmd.php

+ 2 - 1
install/cmd.php

@@ -110,7 +110,8 @@ class BxDolInstallCmd
 
         // include necessary files to perform install
         $_REQUEST['action'] = 'empty';
-        require_once($this->_sHeaderPath);
+        $aPathInfo = pathinfo(__FILE__);
+        require_once($aPathInfo['dirname'] . '/index.php');
     }
 
     public function checkRequirements()