Metrics
0
Watch 40 Star 128 Fork 54

老张 / LzCMS-博客版PHP

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
LzCMS是用ThinkPHP+layui做的,简单方便,没有复杂的功能,就是一个简单博客系统。 spread retract

  • PHP 87.1%
  • JavaScript 10.0%
  • HTML 1.2%
  • CSS 1.1%
  • Smarty 0.5%
  • Other 0.1%
Clone or download
index.php 993 Bytes
Copy Edit Web IDE Raw Blame History
老张 authored 2018-04-08 13:25 . 更改版本号
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// [ 应用入口文件 ]
//不显示警告错误
error_reporting(E_ALL^E_NOTICE^E_WARNING);
//定义lz版本
define('LZ_VERSION', 'v1.1.5');
//判断PHP版本
if(version_compare(phpversion(), '5.4') == -1){
echo '请使用 PHP5.4 及以上版本!';exit;
}
// 定义应用目录
define('APP_PATH', __DIR__ . '/application/');
// 加载框架引导文件
require __DIR__ . '/thinkphp/start.php';

Comment ( 0 )

You need to Sign in for post a comment

PHP
1
https://gitee.com/phplaozhang/LzCMS-LaoZhangBoKeXiTong.git
git@gitee.com:phplaozhang/LzCMS-LaoZhangBoKeXiTong.git

Help Search