summaryrefslogtreecommitdiff
path: root/upload.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-03-25 14:44:22 +0000
committerChristian Fowler <spider@viovio.com>2006-03-25 14:44:22 +0000
commit3b2256d2d8c35d390007f187cc82113f11e06e98 (patch)
tree727231b1270ddab8441aebd2bd757d5d5b5e2423 /upload.php
parent67bef4134daa2c9eac9dc19f3adf007c9bd6a4c4 (diff)
downloadfisheye-3b2256d2d8c35d390007f187cc82113f11e06e98.tar.gz
fisheye-3b2256d2d8c35d390007f187cc82113f11e06e98.tar.bz2
fisheye-3b2256d2d8c35d390007f187cc82113f11e06e98.zip
permission check on upload
Diffstat (limited to 'upload.php')
-rw-r--r--upload.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/upload.php b/upload.php
index e72c8c7..a525bb6 100644
--- a/upload.php
+++ b/upload.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.8 2005/11/22 07:25:47 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.9 2006/03/25 14:44:22 spiderr Exp $
* @package fisheye
* @subpackage functions
*/
@@ -19,6 +19,8 @@ global $fisheyeErrors, $fisheyeWarnings, $fisheyeSuccess;
include_once( FISHEYE_PKG_PATH.'gallery_lookup_inc.php' );
require_once( FISHEYE_PKG_PATH.'upload_inc.php');
+$gBitSystem->verifyPermission( 'bit_p_upload_fisheye' );
+
if( !empty( $_REQUEST['save_image'] ) ) {
// first of all set the execution time for this process to unlimited
set_time_limit(0);