<?php
namespace Modules\Documents\FileExplorer; class Controller extends \ModulesAbstract\FileExplorer\Controller { protected $rootDirectory = "../files/uploadedImages/"; protected function initialize() { parent::initialize(); $this->actionsCfg['addDirectory'] = ['checkOption' => 'Modules/Documents/FileExplorer-addRenameDelete',]; $this->actionsCfg['renameDirectory'] = ['checkOption' => 'Modules/Documents/FileExplorer-addRenameDelete',]; $this->actionsCfg['addFile'] = ['checkOption' => 'Modules/Documents/FileExplorer-addRenameDelete',]; $this->actionsCfg['renameFile'] = ['checkOption' => 'Modules/Documents/FileExplorer-addRenameDelete',]; $this->actionsCfg['delete'] = ['checkOption' => 'Modules/Documents/FileExplorer-addRenameDelete',]; $this->actionsCfg['download'] = ['checkOption' => 'Modules/Documents/FileExplorer-download',]; $this->actionsCfg['previewFile'] = []; } } 