load->config('storage'); $type = $ci->config->item('storage_type'); $type = strtolower($type); return new Storage_Disk($name); } public function __construct($name) { $this->name = $name; } function writeFile($content, $path) { } function removeFile($path) { } }