public function __construct() { parent::__construct('wine_upload'); $this->CONF = $this->config->item('wine_upload'); $this->IMG_DIR = $this->CONF['upload_path'] . '/' . $this->CONF['root_path'] . '/'; $this->HOST = $this->CONF['host']; self::_mkAllDir($this->IMG_DIR); }
function __construct() { parent::__construct(); self::checkRequest(); }