Mercurial > judyates
comparison e2gallerypro/e2upload/manager.php @ 3:3f6b44aa6b35 judyates
[svn r4] added ability to buy stuff, from a Prints page, but it doesn't work well with the css, and it also has not been fitted into the perl make system.
author | rlm |
---|---|
date | Mon, 22 Feb 2010 08:02:39 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:670229c4eb4b | 3:3f6b44aa6b35 |
---|---|
1 <?php | |
2 include('../e2config.php'); | |
3 include('Backend/FileManager.php'); | |
4 | |
5 // Please add your own authentication here | |
6 function UploadIsAuthenticated($get){ | |
7 if(!empty($get['session'])) return true; | |
8 | |
9 return false; | |
10 } | |
11 | |
12 $browser = new FileManager(array( | |
13 'directory' => GALLERY_LOCATION, | |
14 'assetBasePath' => 'Assets', | |
15 'upload' => true, | |
16 'destroy' => true, | |
17 )); | |
18 | |
19 $browser->fireEvent(!empty($_GET['event']) ? $_GET['event'] : null); |