mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
Moved "framework" to "iii".
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -13,4 +13,4 @@ nbproject
|
||||
Thumbs.db
|
||||
|
||||
# composer vendor dir
|
||||
/framework/vendor
|
||||
/yii/vendor
|
@ -2,7 +2,7 @@
|
||||
// comment out the following line to disable debug mode
|
||||
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
||||
|
||||
$frameworkPath = __DIR__ . '/../../framework';
|
||||
$frameworkPath = __DIR__ . '/../../yii';
|
||||
|
||||
require($frameworkPath . '/Yii.php');
|
||||
// Register Composer autoloader
|
||||
|
@ -5,7 +5,7 @@ define('YII_DEBUG', true);
|
||||
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
|
||||
$_SERVER['SCRIPT_FILENAME'] = __FILE__;
|
||||
|
||||
require_once(__DIR__ . '/../../framework/Yii.php');
|
||||
require_once(__DIR__ . '/../../yii/Yii.php');
|
||||
|
||||
Yii::setAlias('@yiiunit', __DIR__);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require(__DIR__ . '/../../../framework/Yii.php');
|
||||
require(__DIR__ . '/../../../yii/Yii.php');
|
||||
|
||||
$application = new yii\web\Application('test', __DIR__ . '/protected');
|
||||
$application->run();
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user