[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 源代码 init_ipn_postcfg.php

Zen Cart 源代码 init_ipn_postcfg.php




下载文件

文件名: init_ipn_postcfg.php
文件类型: PHP文件
文件大小: 1.01 KiB
MD5: 6140a0466ee7c8d6c203d2513e2dc681

init_ipn_postcfg.php - 关闭高亮
  1. <?php
  2. /**
  3.  * Load the IPN checkout-language data
  4.  * see {@link  http://www.zen-cart.com/wiki/index.php/Developers_API_Tutorials#InitSystem wikitutorials} for more details.
  5.  *
  6.  * @package initSystem
  7.  * @copyright Copyright 2003-2007 Zen Cart Development Team
  8.  * @copyright Portions Copyright 2003 osCommerce
  9.  * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  10.  * @version $Id: init_ipn_postcfg.php 6548 2007-07-05 03:40:59Z drbyte $
  11.  */
  12. if (!defined('IS_ADMIN_FLAG')) {
  13.   die('Illegal Access');
  14. }
  15.  
  16. /**
  17.  * require language defines
  18.  * require('includes/languages/english/checkout_process.php');
  19.  */
  20. if (!isset($_SESSION['language'])) $_SESSION['language'] = 'english';
  21. if (file_exists(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'checkout_process.php')) {
  22.   require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'checkout_process.php');
  23. } else {
  24.   require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/checkout_process.php');
  25. }
  26.  
  27. ?>