aboutsummaryrefslogtreecommitdiffstats
path: root/upload.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-09-29 19:50:17 +0000
committerrub <rub@piwigo.org>2008-09-29 19:50:17 +0000
commit547fc51c3a3492011f8072a0e2b094d9792d07f6 (patch)
tree894e51b6525fb00a1e397c82282604eb34738447 /upload.php
parentc50a7dca1ef1c9f47b0b3716a55a4a1341ede15e (diff)
Resolved issue 0000872: [Butterfly2 and 2.0RC1] Error on picture upload by visitor and admin
git-svn-id: http://piwigo.org/svn/trunk@2624 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--upload.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/upload.php b/upload.php
index bcb82bee9..7d04c5db1 100644
--- a/upload.php
+++ b/upload.php
@@ -27,19 +27,12 @@ define('PHPWG_ROOT_PATH','./');
// | Includes |
// +-----------------------------------------------------------------------+
include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
-include_once(PHPWG_ROOT_PATH.'include/upload.class.php');
// +-----------------------------------------------------------------------+
// | Check Access and exit when user status is not ok |
// +-----------------------------------------------------------------------+
check_status($conf['upload_user_access']);
-// +-----------------------------------------------------------------------+
-// | Create upload object |
-// +-----------------------------------------------------------------------+
-$upload = new Upload();
-
-
$username = !empty($_POST['username']) ? $_POST['username']:(is_classic_user() ? $user['username'] : '');
$mail_address = !empty($_POST['mail_address']) ? $_POST['mail_address'] : (is_classic_user() ? $user['email'] : '');
$name = !empty($_POST['name']) ? $_POST['name'] : '';