代码拉取完成,页面将自动刷新
<?php
/**
* DBShop 电子商务系统
*
* ==========================================================================
* @link http://www.dbshop.net/
* @copyright Copyright (c) 2012-2015 DBShop.net Inc. (http://www.dbshop.net)
* @license http://www.dbshop.net/license.html License
* ==========================================================================
*
* @author 静静的风
*
*/
@header("Content-type: text/html; charset=utf-8");
//设定根目录
define('DBSHOP_PATH', dirname(__FILE__));
/*==========================设定后台==========================*/
define('DBSHOP_ADMIN_DIR', 'admin');//后台默认目录
/*==========================设定前台==========================*/
require __DIR__ . '/data/moduledata/Shopfront/setShop.php';
//时区设定
if(function_exists('date_default_timezone_set') and defined('DBSHOP_TIMEZONE')){
date_default_timezone_set(DBSHOP_TIMEZONE);
}
/*==========================设定版权信息==========================*/
define('DBSHOP_YEAR_COPYRIGHT', '2012-'.date("Y").' ');
define('DBSHOP_FRONT_COPYRIGHT', 'DBShop');//前台版权信息
define('DBSHOP_FRONT_COPYRIGHT_URL', 'https://www.dbshop.net/');//前台版权信息url
/*==========================系统运行==========================*/
require 'init_autoloader.php';
$dbshopConfig = require 'config/application.config.php';
//合并不同的配置文件方法
if (file_exists('data/Module.ini.php')) {
$dbshopConfig = Zend\Stdlib\ArrayUtils::merge($dbshopConfig, require 'data/Module.ini.php');
}
Zend\Mvc\Application::init($dbshopConfig)->run();
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。