1 Star 0 Fork 0

Longhua/dada

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.php 1.56 KB
一键复制 编辑 原始数据 按行查看 历史
lh_xu 提交于 2020-06-20 14:09 +08:00 . initial
<?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();
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/longhuax/dada.git
git@gitee.com:longhuax/dada.git
longhuax
dada
dada
master

搜索帮助