diff 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
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/e2gallerypro/e2upload/manager.php	Mon Feb 22 08:02:39 2010 -0500
     1.3 @@ -0,0 +1,19 @@
     1.4 +<?php
     1.5 +include('../e2config.php');
     1.6 +include('Backend/FileManager.php');
     1.7 +
     1.8 +// Please add your own authentication here
     1.9 +function UploadIsAuthenticated($get){
    1.10 +	if(!empty($get['session'])) return true;
    1.11 +	
    1.12 +	return false;
    1.13 +}
    1.14 +
    1.15 +$browser = new FileManager(array(
    1.16 +	'directory' => GALLERY_LOCATION,
    1.17 +	'assetBasePath' => 'Assets',
    1.18 +	'upload' => true,
    1.19 +	'destroy' => true,
    1.20 +));
    1.21 +
    1.22 +$browser->fireEvent(!empty($_GET['event']) ? $_GET['event'] : null);
    1.23 \ No newline at end of file