Fatal error: Call to undefined function app\index\controller\abort() in /www/wwwroot/www.dorosin-air.com/app/index/controller/Category.php on line 59

[1] ErrorException in Category.php line 59

Call to undefined function app\index\controller\abort()

  1. 'seo_description' => $category['seo_desc'],
  2. 'cid' => $category['id'],
  3. 'parent' => $category['pid'] != 0 ? $catemodel->getOneCategory($category['pid']): null
  4. ]);
  5. return $this->fetch($this->tpl_file.$tplstr);
  6. }
  7. public function _empty()
  8. {
  9. abort(404);
  10. }
  11. }
  12. ?>