diff options
author | admin <devnull@localhost> | 2006-09-26 05:52:45 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-26 05:52:45 +0200 |
commit | e79dc7130a0003a07833609487b8ebb5ebcf31c8 (patch) | |
tree | 8400c41761ddcd7a9338637eefc9429d501d87ff /system/libraries/Upload.php | |
parent | 30c3b9709a12b7346c7057e656a491ffb9168f55 (diff) |
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r-- | system/libraries/Upload.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 98edd654f..26f216544 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -13,6 +13,17 @@ * @filesource */ +// INITIALIZE THE CLASS --------------------------------------------------- + +$config = array(); +if (file_exists(APPPATH.'config/upload'.EXT)) +{ + include_once(APPPATH.'config/upload'.EXT); +} + +$obj =& get_instance(); +$obj->upload = new CI_Upload($config); + // ------------------------------------------------------------------------ /** |