示例#1
0
 /**
  * Connector for elFinder
  *
  * @return void
  */
 public function connectorAction()
 {
     $opts = array('roots' => array(array('driver' => 'LocalFileSystem', 'path' => GC_PUBLIC_PATH . '/frontend/', 'tmbPath' => 'thumbnails', 'URL' => '/frontend/', 'accessControl' => 'access', 'attributes' => array(array('pattern' => '~^/\\.gitignore$~', 'hidden' => true)))));
     // run elFinder
     $connector = new elFinderConnector(new elFinder($opts));
     $connector->run();
 }