diff options
Diffstat (limited to 'system/init/init_upload.php')
-rw-r--r-- | system/init/init_upload.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/system/init/init_upload.php b/system/init/init_upload.php deleted file mode 100644 index 495975c7a..000000000 --- a/system/init/init_upload.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates file uploading class - * - * @access private called by the app controller - */ - -$config = array(); -if ( ! class_exists('CI_Upload')) -{ - if (file_exists(APPPATH.'config/upload'.EXT)) - { - include_once(APPPATH.'config/upload'.EXT); - } - - require_once(BASEPATH.'libraries/Upload'.EXT); -} - -$obj =& get_instance(); -$obj->upload = new CI_Upload($config); -$obj->ci_is_loaded[] = 'upload'; - -?>
\ No newline at end of file |