Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
2387e59c
Commit
2387e59c
authored
May 09, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed yii.php -> Yii.php for class, filename consitency
See
https://github.com/yiisoft/yii2/issues/123#issuecomment-17657374
Issue #123
parent
776162b0
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
5 deletions
+5
-5
index.php
apps/bootstrap/index.php
+1
-1
build
build/build
+1
-1
Yii.php
framework/Yii.php
+0
-0
yiic.php
framework/yiic.php
+1
-1
bootstrap.php
tests/unit/bootstrap.php
+1
-1
index.php
tests/web/app/index.php
+1
-1
No files found.
apps/bootstrap/index.php
View file @
2387e59c
...
@@ -3,7 +3,7 @@
...
@@ -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
.
'
y
ii.php'
);
require
(
$frameworkPath
.
'
Y
ii.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
);
...
...
build/build
View file @
2387e59c
...
@@ -11,7 +11,7 @@
...
@@ -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/
y
ii.php'
);
require
(
__DIR__
.
'/../framework/
Y
ii.php'
);
$id
=
'yiic-build'
;
$id
=
'yiic-build'
;
$basePath
=
__DIR__
;
$basePath
=
__DIR__
;
...
...
framework/
y
ii.php
→
framework/
Y
ii.php
View file @
2387e59c
File moved
framework/yiic.php
View file @
2387e59c
...
@@ -12,7 +12,7 @@ defined('YII_DEBUG') or define('YII_DEBUG', true);
...
@@ -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__
.
'/
y
ii.php'
);
require
(
__DIR__
.
'/
Y
ii.php'
);
$application
=
new
yii\console\Application
(
array
(
$application
=
new
yii\console\Application
(
array
(
'id'
=>
'yiic'
,
'id'
=>
'yiic'
,
...
...
tests/unit/bootstrap.php
View file @
2387e59c
...
@@ -5,7 +5,7 @@ define('YII_DEBUG', true);
...
@@ -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/
y
ii.php'
);
require_once
(
__DIR__
.
'/../../framework/
Y
ii.php'
);
Yii
::
setAlias
(
'@yiiunit'
,
__DIR__
);
Yii
::
setAlias
(
'@yiiunit'
,
__DIR__
);
...
...
tests/web/app/index.php
View file @
2387e59c
<?php
<?php
require
(
__DIR__
.
'/../../../framework/
y
ii.php'
);
require
(
__DIR__
.
'/../../../framework/
Y
ii.php'
);
$application
=
new
yii\web\Application
(
'test'
,
__DIR__
.
'/protected'
);
$application
=
new
yii\web\Application
(
'test'
,
__DIR__
.
'/protected'
);
$application
->
run
();
$application
->
run
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment