Exemple #1
0
 /**
  * Throws a new 404 exception.
  *
  * @throws  Eight_Exception_404
  * @return  void
  */
 public static function trigger($page = NULL)
 {
     // Silence 404 errors (as matched within the ignore array) and die quietly
     if (in_array(Router::$complete_uri, arr::c(Eight::config('core.ignore_page_not_found')))) {
         Eight::shutdown();
         exit;
     }
     throw new Eight_Exception_404($page);
 }