[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 page_not_found.php

Zen Cart 源代码 page_not_found.php




下载文件

文件名: page_not_found.php
文件类型: PHP文件
文件大小: 675 Bytes
MD5: 4c5504d96cffcd5e5770c8e8cb174fab

page_not_found.php - 关闭高亮
  1. <?php
  2. /**
  3.  * Handler for page not found errors
  4.  *
  5.  * Generates a 301 Moved permanently error and redirects to index.php?main_page=page_not_found
  6.  * Especially useful as for Google indexing
  7.  *
  8.  * @package general
  9.  * @copyright Copyright 2003-2005 Zen Cart Development Team
  10.  * @copyright Portions Copyright 2003 osCommerce
  11.  * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  12.  * @version $Id: page_not_found.php 2742 2005-12-30 21:12:44Z wilt $
  13.  */
  14. /*
  15. * redirect to the page_not_found page after sending spiders the "moved" message
  16. */
  17. header("HTTP/1.1 301 Moved Permanently");
  18. header("Location: index.php?main_page=page_not_found");
  19. ?>