1 Star 0 Fork 0

Longhua/dada

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
init_autoloader.php 1.23 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 静静的风
*
*/
//在发布时是开启状态,在开发环境中注释掉
error_reporting(0);
//初始化设置
@set_time_limit(0);
@ini_set('memory_limit','128M');
//检测php版本,如果版本过低提示
if (version_compare(phpversion(), '5.3.23', '<') === true) {
die('ERROR: Your PHP version is ' . phpversion() . '. DBShop requires PHP 5.3.23 or newer.<br><br>错误:您的 PHP 版本是 ' . phpversion() . '。DBShop系统支持 PHP5.3.23或者更高版本。');
}
$loader = include 'vendor/autoload.php';
$zf2Path = __DIR__ . '/vendor/zendframework/zendframework/library';
$loader->add('Zend', $zf2Path);
$qiniuPath = __DIR__ . '/vendor/qiniu/php-sdk/src/Qiniu/functions.php';
if(file_exists($qiniuPath)) require $qiniuPath;
$aliyunPath= __DIR__ . '/vendor/alibaba/aliyun/autoload.php';
if(file_exists($aliyunPath)) require $aliyunPath;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/longhuax/dada.git
git@gitee.com:longhuax/dada.git
longhuax
dada
dada
master

搜索帮助