function __construct()
 {
     parent::__construct();
     $this->sTroubledElements = '';
     $this->aInstallDirs = array('backup', 'cache', 'cache_public', 'langs', 'media/images', 'media/images/banners', 'media/images/blog', 'media/images/classifieds', 'media/images/membership', 'media/images/profile', 'media/moxie/files', 'media/moxie/storage', 'tmp');
     $this->aInstallFiles = array('sitemap.xml');
     $this->aFlashDirs = array('flash/modules/board/files', 'flash/modules/chat/files', 'flash/modules/photo/files', 'flash/modules/im/files', 'flash/modules/mp3/files', 'flash/modules/video/files', 'flash/modules/video_comments/files');
     $this->aFlashFiles = array('flash/modules/global/data/integration.dat', 'flash/modules/board/xml/config.xml', 'flash/modules/board/xml/langs.xml', 'flash/modules/board/xml/main.xml', 'flash/modules/board/xml/skins.xml', 'flash/modules/chat/xml/config.xml', 'flash/modules/chat/xml/langs.xml', 'flash/modules/chat/xml/main.xml', 'flash/modules/chat/xml/skins.xml', 'flash/modules/desktop/xml/config.xml', 'flash/modules/desktop/xml/langs.xml', 'flash/modules/desktop/xml/main.xml', 'flash/modules/desktop/xml/skins.xml', 'flash/modules/global/app/ffmpeg.exe', 'flash/modules/global/xml/config.xml', 'flash/modules/global/xml/main.xml', 'flash/modules/im/xml/config.xml', 'flash/modules/im/xml/langs.xml', 'flash/modules/im/xml/main.xml', 'flash/modules/im/xml/skins.xml', 'flash/modules/mp3/xml/config.xml', 'flash/modules/mp3/xml/langs.xml', 'flash/modules/mp3/xml/main.xml', 'flash/modules/mp3/xml/skins.xml', 'flash/modules/photo/xml/config.xml', 'flash/modules/photo/xml/langs.xml', 'flash/modules/photo/xml/main.xml', 'flash/modules/photo/xml/skins.xml', 'flash/modules/video/xml/config.xml', 'flash/modules/video/xml/langs.xml', 'flash/modules/video/xml/main.xml', 'flash/modules/video/xml/skins.xml', 'flash/modules/video_comments/xml/config.xml', 'flash/modules/video_comments/xml/langs.xml', 'flash/modules/video_comments/xml/main.xml', 'flash/modules/video_comments/xml/skins.xml');
     $this->aPostInstallPermDirs = array();
     $this->aPostInstallPermFiles = array();
 }
 public function __construct()
 {
     parent::__construct();
     $this->aInstallPermissions = array('inc', 'cache', 'cache_public', 'logs', 'tmp', 'storage');
     $this->aPostInstallPermissions = array();
     if (defined('BX_DOL_INSTALL') && BX_DOL_INSTALL) {
         $this->bInstallScript = true;
         $this->sRootPath = BX_INSTALL_URL_ROOT;
     } else {
         $this->bInstallScript = false;
         $this->sRootPath = BX_DOL_URL_ROOT;
     }
 }
 public function __construct()
 {
     parent::__construct();
     $this->aInstallPermissions = array('inc', 'cache', 'cache_public', 'logs', 'tmp', 'storage', defined('BX_SYSTEM_FFMPEG') ? bx_ltrim_str(BX_SYSTEM_FFMPEG, BX_DIRECTORY_PATH_ROOT) : 'plugins/ffmpeg/ffmpeg.exe');
     // remove 'inc' folder if script is already installed
     if (defined('BX_DOL')) {
         array_shift($this->aInstallPermissions);
     }
     $this->aPostInstallPermissions = array();
     if (defined('BX_DOL_INSTALL') && BX_DOL_INSTALL) {
         $this->bInstallScript = true;
         $this->sRootPath = BX_INSTALL_URL_ROOT;
     } else {
         $this->bInstallScript = false;
         $this->sRootPath = BX_DOL_URL_ROOT;
     }
 }
 function __construct()
 {
     parent::__construct();
 }