Ejemplo n.º 1
0
 public function mount(array $opts)
 {
     // If path is not set, use the root
     if (!isset($opts['path']) || $opts['path'] === '') {
         $opts['path'] = '/';
     }
     return parent::mount($opts);
 }
 /**
  * {@inheritdoc).
  */
 public function mount(array $opts)
 {
     $this->dispatcher->dispatch('elfinder.' . __METHOD__, new ElFinderEvent(func_get_args()));
     return $this->driver->mount($opts);
 }