Mercurial > judyates
annotate e2gallerypro/e2upload/managerxml.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 |
rev | line source |
---|---|
rlm@3 | 1 <?php |
rlm@3 | 2 include('../e2config.php'); |
rlm@3 | 3 include('Backend/FileManager.php'); |
rlm@3 | 4 |
rlm@3 | 5 // Please add your own authentication here |
rlm@3 | 6 function UploadIsAuthenticated($get){ |
rlm@3 | 7 if(!empty($get['session'])) return true; |
rlm@3 | 8 |
rlm@3 | 9 return false; |
rlm@3 | 10 } |
rlm@3 | 11 |
rlm@3 | 12 $browser = new FileManager(array( |
rlm@3 | 13 'directory' => XML_LOCATION, |
rlm@3 | 14 'assetBasePath' => 'Assets', |
rlm@3 | 15 'upload' => true, |
rlm@3 | 16 'destroy' => true, |
rlm@3 | 17 )); |
rlm@3 | 18 |
rlm@3 | 19 $browser->fireEvent(!empty($_GET['event']) ? $_GET['event'] : null); |