rlm@3: <?php rlm@3: include('../e2config.php'); rlm@3: include('Backend/FileManager.php'); rlm@3: rlm@3: // Please add your own authentication here rlm@3: function UploadIsAuthenticated($get){ rlm@3: if(!empty($get['session'])) return true; rlm@3: rlm@3: return false; rlm@3: } rlm@3: rlm@3: $browser = new FileManager(array( rlm@3: 'directory' => XML_LOCATION, rlm@3: 'assetBasePath' => 'Assets', rlm@3: 'upload' => true, rlm@3: 'destroy' => true, rlm@3: )); rlm@3: rlm@3: $browser->fireEvent(!empty($_GET['event']) ? $_GET['event'] : null);