Skip to content

Commit

Permalink
Renamed yii.php -> Yii.php for class, filename consitency
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed May 9, 2013
1 parent 776162b commit 2387e59
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/bootstrap/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
defined('YII_DEBUG') or define('YII_DEBUG', true);

$frameworkPath = __DIR__ . '/../../framework/';
require($frameworkPath . 'yii.php');
require($frameworkPath . 'Yii.php');

$config = require(__DIR__ . '/protected/config/main.php');
$application = new yii\web\Application($config);
Expand Down
2 changes: 1 addition & 1 deletion build/build
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// fcgi doesn't have STDIN defined by default
defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));

require(__DIR__ . '/../framework/yii.php');
require(__DIR__ . '/../framework/Yii.php');

$id = 'yiic-build';
$basePath = __DIR__;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion framework/yiic.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// fcgi doesn't have STDIN defined by default
defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));

require(__DIR__ . '/yii.php');
require(__DIR__ . '/Yii.php');

$application = new yii\console\Application(array(
'id' => 'yiic',
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
$_SERVER['SCRIPT_FILENAME'] = __FILE__;

require_once(__DIR__ . '/../../framework/yii.php');
require_once(__DIR__ . '/../../framework/Yii.php');

Yii::setAlias('@yiiunit', __DIR__);

Expand Down
2 changes: 1 addition & 1 deletion tests/web/app/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require(__DIR__ . '/../../../framework/yii.php');
require(__DIR__ . '/../../../framework/Yii.php');

$application = new yii\web\Application('test', __DIR__ . '/protected');
$application->run();

0 comments on commit 2387e59

Please sign in to comment.