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
53194796
Commit
53194796
authored
Jan 11, 2014
by
Alexander Kochetov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IMPORTANT] Path corrections
parent
85874dfd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
requirements.php
apps/advanced/requirements.php
+1
-1
requirements.php
apps/basic/requirements.php
+1
-1
Installer.php
extensions/composer/Installer.php
+2
-2
No files found.
apps/advanced/requirements.php
View file @
53194796
...
...
@@ -11,7 +11,7 @@
*/
// you may need to adjust this path to the correct Yii framework path
$frameworkPath
=
dirname
(
__FILE__
)
.
'/vendor/yiisoft/yii2
/yii
'
;
$frameworkPath
=
dirname
(
__FILE__
)
.
'/vendor/yiisoft/yii2'
;
if
(
!
is_dir
(
$frameworkPath
))
{
echo
'<h1>Error</h1>'
;
...
...
apps/basic/requirements.php
View file @
53194796
...
...
@@ -11,7 +11,7 @@
*/
// you may need to adjust this path to the correct Yii framework path
$frameworkPath
=
dirname
(
__FILE__
)
.
'/vendor/yiisoft/yii2
/yii
'
;
$frameworkPath
=
dirname
(
__FILE__
)
.
'/vendor/yiisoft/yii2'
;
if
(
!
is_dir
(
$frameworkPath
))
{
echo
'<h1>Error</h1>'
;
...
...
extensions/composer/Installer.php
View file @
53194796
...
...
@@ -188,7 +188,7 @@ class Installer extends LibraryInstaller
protected
function
linkBaseYiiFiles
()
{
$yiiDir
=
$this
->
vendorDir
.
'/yiisoft/yii2
/yii
'
;
$yiiDir
=
$this
->
vendorDir
.
'/yiisoft/yii2'
;
if
(
!
file_exists
(
$yiiDir
))
{
mkdir
(
$yiiDir
,
0777
,
true
);
}
...
...
@@ -212,7 +212,7 @@ EOF
protected
function
removeBaseYiiFiles
()
{
$yiiDir
=
$this
->
vendorDir
.
'/yiisoft/yii2
/yii
'
;
$yiiDir
=
$this
->
vendorDir
.
'/yiisoft/yii2'
;
foreach
([
'Yii.php'
,
'BaseYii.php'
,
'classes.php'
]
as
$file
)
{
if
(
file_exists
(
$yiiDir
.
'/'
.
$file
))
{
unlink
(
$yiiDir
.
'/'
.
$file
);
...
...
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