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

Zen Cart 源代码 installer_params.php




下载文件

文件名: installer_params.php
文件类型: PHP文件
文件大小: 1.08 KiB
MD5: 4608fe8bf869546d4498583b53434228

installer_params.php - 关闭高亮
  1. <?php
  2. /**
  3.  * @package Installer
  4.  * @access private
  5.  * @copyright Copyright 2003-2011 Zen Cart Development Team
  6.  * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  7.  * @version $Id: installer_params.php 18819 2011-05-31 20:25:53Z drbyte $
  8.  */
  9.  
  10. /**
  11.  * Runtime Parameters used by browser interface
  12.  */
  13. //  $session_save_path = (@ini_get('session.save_path') && is_writable(ini_get('session.save_path')) ) ? ini_get('session.save_path') : realpath('../cache');
  14.   $session_save_path = (is_writable(realpath('../cache')) ) ? realpath('../cache') : ini_get('session.save_path');
  15.   define('SESSION_WRITE_DIRECTORY', $session_save_path);
  16.   define('DEBUG_LOG_FOLDER', realpath('../cache'));
  17.  
  18.   // Set the following to TRUE if having problems (blank pages, etc). Best to leave at FALSE for normal use.
  19.   define('STRICT_ERROR_REPORTING', FALSE);
  20.  
  21.  
  22.   // optionally set this to 'latin1':
  23.   define('DB_CHARSET', 'utf8');
  24.  
  25.   // optionally uncomment the following line if choosing 'utf8' or 'latin1' above are causing problems:
  26.   // define('IGNORE_DB_CHARSET', TRUE);
  27.  
  28.