Browse Source
* 'master' of git://github.com/yiisoft/yii2: Updated framework paths in composer.json Moved "framework" to "iii". Fixed Yii::importNamespaces() bug. Fixes issue #174: make URL parameters available in $_GET. refactoring. Removed static variable from autoload per qiangxue's suggestion Renamed yii.php -> Yii.php for class, filename consitency created StringHelper::basename() Fixed YiiBaseTest echo Check if trait was loadedtags/2.0.0-beta
Antonio Ramirez
12 years ago
404 changed files with 36164 additions and 36098 deletions
@ -1,14 +1,13 @@ |
|||||||
<?php |
<?php |
||||||
// Set to false to disable debug mode |
// comment out the following line to disable debug mode |
||||||
defined('YII_DEBUG') or define('YII_DEBUG', true); |
defined('YII_DEBUG') or define('YII_DEBUG', true); |
||||||
|
|
||||||
$frameworkPath = __DIR__ . '/../../framework/'; |
$frameworkPath = __DIR__ . '/../../yii'; |
||||||
require($frameworkPath . 'yii.php'); |
|
||||||
|
|
||||||
$config = require(__DIR__ . '/protected/config/main.php'); |
|
||||||
$application = new yii\web\Application($config); |
|
||||||
|
|
||||||
|
require($frameworkPath . '/Yii.php'); |
||||||
// Register Composer autoloader |
// Register Composer autoloader |
||||||
@include $frameworkPath . '/vendor/autoload.php'; |
@include($frameworkPath . '/vendor/autoload.php'); |
||||||
|
|
||||||
|
$config = require(__DIR__ . '/protected/config/main.php'); |
||||||
|
$application = new yii\web\Application($config); |
||||||
$application->run(); |
$application->run(); |
||||||
|
@ -1,6 +1,6 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
require(__DIR__ . '/../../../framework/yii.php'); |
require(__DIR__ . '/../../../yii/Yii.php'); |
||||||
|
|
||||||
$application = new yii\web\Application('test', __DIR__ . '/protected'); |
$application = new yii\web\Application('test', __DIR__ . '/protected'); |
||||||
$application->run(); |
$application->run(); |
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue