function __costruct() { parent::__costruct(); $this->gallery_path = realpath(APPPATH . '../images'); }