Changeset 2624 for trunk/upload.php


Ignore:
Timestamp:
Sep 29, 2008, 9:50:17 PM (16 years ago)
Author:
rub
Message:

Resolved issue 0000872: [Butterfly2 and 2.0RC1] Error on picture upload by visitor and admin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upload.php

    r2485 r2624  
    2828// +-----------------------------------------------------------------------+
    2929include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
    30 include_once(PHPWG_ROOT_PATH.'include/upload.class.php');
    3130
    3231// +-----------------------------------------------------------------------+
     
    3433// +-----------------------------------------------------------------------+
    3534check_status($conf['upload_user_access']);
    36 
    37 // +-----------------------------------------------------------------------+
    38 // | Create upload object                                                  |
    39 // +-----------------------------------------------------------------------+
    40 $upload = new Upload();
    41 
    4235
    4336$username = !empty($_POST['username']) ? $_POST['username']:(is_classic_user() ? $user['username'] : '');
Note: See TracChangeset for help on using the changeset viewer.