首页 > typecho如何判断404页面

typecho如何判断404页面

typecho可以利用is语法判断页面,比如$this->is('page');,请问如何判断404页面?


没明白你的point是什么?
是想要抛出一个404页面吗?

throw new Exception("Path 123 not found", 404);
【热门文章】
【热门文章】