elFinderVolumeFTP::__construct PHP Method

__construct() public method

Constructor Extend options with required fields
Author: Dmitry (dio) Levashov
Author: Cem (DiscoFever)
public __construct ( )
    public function __construct()
    {
        $opts = array('host' => 'localhost', 'user' => '', 'pass' => '', 'port' => 21, 'mode' => 'passive', 'path' => '/', 'timeout' => 20, 'owner' => true, 'tmbPath' => '', 'tmpPath' => '', 'separator' => '/', 'dirMode' => 0755, 'fileMode' => 0644, 'rootCssClass' => 'elfinder-navbar-root-ftp');
        $this->options = array_merge($this->options, $opts);
        $this->options['mimeDetect'] = 'internal';
    }