mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Load userclass object if not already there
This commit is contained in:
parent
a68470b036
commit
171f6c6fad
@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/upload.php,v $
|
||||
| $Revision: 1.6 $
|
||||
| $Date: 2008-11-14 06:01:06 $
|
||||
| $Author: e107coders $
|
||||
| $Revision: 1.7 $
|
||||
| $Date: 2008-11-29 15:27:55 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
require_once("../class2.php");
|
||||
@ -95,11 +95,16 @@ if ($action == "dl")
|
||||
|
||||
require_once(e_HANDLER.'upload_handler.php');
|
||||
require_once("auth.php");
|
||||
require_once(e_HANDLER."userclass_class.php");
|
||||
require_once(e_HANDLER.'userclass_class.php');
|
||||
$gen = new convert;
|
||||
require_once(e_HANDLER."form_handler.php");
|
||||
require_once(e_HANDLER.'form_handler.php');
|
||||
$rs = new form;
|
||||
|
||||
|
||||
// Need the userclass object for class selectors
|
||||
if (!is_object($e_userclass)) { $e_userclass = new user_class; }
|
||||
|
||||
|
||||
if (isset($_POST['optionsubmit']))
|
||||
{
|
||||
$pref['upload_storagetype'] = $_POST['upload_storagetype'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user