12 Star 26 Fork 6

strwei / simpleforum

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
index.php 617 Bytes
Copy Edit Raw Blame History
ONEXIN authored 2021-09-08 08:18 . Fix require_once
<?php
/**
* @link http://simpleforum.org/
* @copyright Copyright (c) 2016 Simple Forum
* @author Jiandong Yu admin@simpleforum.org
*/
// comment out the following two lines when deployed to production
//defined('YII_DEBUG') or define('YII_DEBUG', true);
//defined('YII_ENV') or define('YII_ENV', 'prd');
define('WEBROOT_PATH', __DIR__);
define('SF_PATH', __DIR__.'/core');
require_once SF_PATH . '/vendor/autoload.php';
require_once SF_PATH . '/vendor/yiisoft/yii2/Yii.php';
require_once SF_PATH . '/version.php';
$config = require_once SF_PATH . '/config/web.php';
(new yii\web\Application($config))->run();
1
https://gitee.com/strwei/simpleforum.git
git@gitee.com:strwei/simpleforum.git
strwei
simpleforum
simpleforum
master

Search