view e2gallerypro/e2upload/managerxml.php @ 28:118cb614cf18 judyates tip

judy bio.
author Robert McIntyre <rlm@mit.edu>
date Tue, 29 Dec 2015 16:26:18 -0800
parents 3f6b44aa6b35
children
line wrap: on
line source
1 <?php
2 include('../e2config.php');
3 include('Backend/FileManager.php');
5 // Please add your own authentication here
6 function UploadIsAuthenticated($get){
7 if(!empty($get['session'])) return true;
9 return false;
10 }
12 $browser = new FileManager(array(
13 'directory' => XML_LOCATION,
14 'assetBasePath' => 'Assets',
15 'upload' => true,
16 'destroy' => true,
17 ));
19 $browser->fireEvent(!empty($_GET['event']) ? $_GET['event'] : null);