public function handleOptions()
{
$opts = array('debug' => true, 'roots' => array(array('driver' => 'LocalFileSystem', 'path' => APP_DIR . '/media/' . $_GET["path"], 'URL' => '/www/media/' . $_GET["path"], 'uploadDeny' => array('all'), 'uploadAllow' => array('image', 'text/plain'), 'uploadOrder' => array('deny', 'allow'), 'accessControl' => 'access', 'fileMode' => 0644, 'attributes' => $this->getHiddenDirectories()), array('driver' => 'LocalFileSystem', 'path' => APP_DIR . '/images', 'URL' => '/www/images', 'uploadDeny' => array('all'), 'uploadAllow' => array('image', 'text/plain'), 'uploadOrder' => array('deny', 'allow'), 'accessControl' => 'access', 'fileMode' => 0644, 'attributes' => $this->getHiddenDirectories())));
// Run elFinder
$connector = new \elFinderConnector(new \elFinder($opts));
$connector->run();
}