Mercurial > judyates
view e2gallerypro/e2upload/manager.php @ 12:2f433df9b961 judyates
[svn r13] Modified esgallery source to enable multiple paypal buttons; got the photo gallery operational and tested.
author | rlm |
---|---|
date | Mon, 12 Apr 2010 03:24:08 -0400 |
parents | 3f6b44aa6b35 |
children |
line wrap: on
line source
1 <?php2 include('../e2config.php');3 include('Backend/FileManager.php');5 // Please add your own authentication here6 function UploadIsAuthenticated($get){7 if(!empty($get['session'])) return true;9 return false;10 }12 $browser = new FileManager(array(13 'directory' => GALLERY_LOCATION,14 'assetBasePath' => 'Assets',15 'upload' => true,16 'destroy' => true,17 ));19 $browser->fireEvent(!empty($_GET['event']) ? $_GET['event'] : null);