Browse Source

Renamed yii.php -> Yii.php for class, filename consitency

See https://github.com/yiisoft/yii2/issues/123#issuecomment-17657374
Issue #123
tags/2.0.0-beta
Carsten Brandt 12 years ago
parent
commit
2387e59c4e
  1. 2
      apps/bootstrap/index.php
  2. 2
      build/build
  3. 0
      framework/Yii.php
  4. 2
      framework/yiic.php
  5. 2
      tests/unit/bootstrap.php
  6. 2
      tests/web/app/index.php

2
apps/bootstrap/index.php

@ -3,7 +3,7 @@
defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_DEBUG') or define('YII_DEBUG', true);
$frameworkPath = __DIR__ . '/../../framework/'; $frameworkPath = __DIR__ . '/../../framework/';
require($frameworkPath . 'yii.php'); require($frameworkPath . 'Yii.php');
$config = require(__DIR__ . '/protected/config/main.php'); $config = require(__DIR__ . '/protected/config/main.php');
$application = new yii\web\Application($config); $application = new yii\web\Application($config);

2
build/build

@ -11,7 +11,7 @@
// fcgi doesn't have STDIN defined by default // fcgi doesn't have STDIN defined by default
defined('STDIN') or define('STDIN', fopen('php://stdin', 'r')); defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
require(__DIR__ . '/../framework/yii.php'); require(__DIR__ . '/../framework/Yii.php');
$id = 'yiic-build'; $id = 'yiic-build';
$basePath = __DIR__; $basePath = __DIR__;

0
framework/yii.php → framework/Yii.php

2
framework/yiic.php

@ -12,7 +12,7 @@ defined('YII_DEBUG') or define('YII_DEBUG', true);
// fcgi doesn't have STDIN defined by default // fcgi doesn't have STDIN defined by default
defined('STDIN') or define('STDIN', fopen('php://stdin', 'r')); defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
require(__DIR__ . '/yii.php'); require(__DIR__ . '/Yii.php');
$application = new yii\console\Application(array( $application = new yii\console\Application(array(
'id' => 'yiic', 'id' => 'yiic',

2
tests/unit/bootstrap.php

@ -5,7 +5,7 @@ define('YII_DEBUG', true);
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__; $_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
$_SERVER['SCRIPT_FILENAME'] = __FILE__; $_SERVER['SCRIPT_FILENAME'] = __FILE__;
require_once(__DIR__ . '/../../framework/yii.php'); require_once(__DIR__ . '/../../framework/Yii.php');
Yii::setAlias('@yiiunit', __DIR__); Yii::setAlias('@yiiunit', __DIR__);

2
tests/web/app/index.php

@ -1,6 +1,6 @@
<?php <?php
require(__DIR__ . '/../../../framework/yii.php'); require(__DIR__ . '/../../../framework/Yii.php');
$application = new yii\web\Application('test', __DIR__ . '/protected'); $application = new yii\web\Application('test', __DIR__ . '/protected');
$application->run(); $application->run();

Loading…
Cancel
Save