1 Star 0 Fork 150

酒酿丸子 / oscshop2

forked from 李紫电 / oscshop2 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
index.php 716 Bytes
Copy Edit Web IDE Raw Blame History
<?php
//判断php版本
if(version_compare(PHP_VERSION,'5.4.0','<')) die('require PHP > 5.4.0 !');
header('X-Powered-By: oscshop2');
//设置网站字符集
header("Content-Type:text/html; charset=utf-8");
//版本号
define('OSCSHOP_VERSION', '2.0');
//根目录,物理路径
define('ROOT_PATH',str_replace('\\','/',dirname(__FILE__)) . '/');
//图片上传目录
define('DIR_IMAGE',ROOT_PATH.'public/uploads/');
//类库包
define('EXTEND_PATH','./extend/');
//扩展类库包
define('VENDOR_PATH','./vendor/');
// 定义应用目录
define('APP_PATH','./oscshop/');
//应用命名空间
define('APP_NAMESPACE','osc');
define('THEMES','default');
// 加载框架引导文件
require './thinkphp/start.php';

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/jinleijie/oscshop2.git
git@gitee.com:jinleijie/oscshop2.git
jinleijie
oscshop2
oscshop2
master

Search