true, 'roots' => array( array( 'driver' => 'LocalFileSystem', // driver for accessing file system (REQUIRED) 'path' => '../uploads/', // path to files (REQUIRED) 'URL' => dirname($_SERVER['PHP_SELF']) . '/../uploads/', // URL to files (REQUIRED) 'accessControl' => 'access', // disable and hide dot starting files (OPTIONAL) 'uploadAllow' => array('image') ) ) ); // run elFinder $connector = new elFinderConnector(new elFinder($opts)); $connector->run();