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
9ea5ccc4
Commit
9ea5ccc4
authored
May 21, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix.
parent
a9688954
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
composer.json
apps/bootstrap/composer.json
+19
-1
InstallHandler.php
extensions/composer/yii/composer/InstallHandler.php
+2
-2
No files found.
apps/bootstrap/composer.json
View file @
9ea5ccc4
...
...
@@ -15,6 +15,24 @@
"minimum-stability"
:
"dev"
,
"require"
:
{
"php"
:
">=5.3.0"
,
"yiisoft/yii2"
:
"dev-master"
"yiisoft/yii2"
:
"dev-master"
,
"yiisoft/yii2-composer"
:
"dev-master"
},
"scripts"
:
{
"post-install-cmd"
:
[
"yii
\\
composer
\\
InstallHandler::setPermissions"
],
"post-update-cmd"
:
[
"yii
\\
composer
\\
InstallHandler::setPermissions"
]
},
"extra"
:
{
"writable"
:
[
"runtime"
,
"www/assets"
],
"executable"
:
[
"yii"
]
}
}
extensions/composer/yii/composer/InstallHandler.php
View file @
9ea5ccc4
...
...
@@ -41,11 +41,11 @@ class InstallHandler
foreach
((
array
)
$options
[
'executable'
]
as
$path
)
{
echo
"Setting executable:
$path
..."
;
if
(
is_
dir
(
$path
))
{
if
(
is_
file
(
$path
))
{
chmod
(
$path
,
0755
);
echo
"done
\n
"
;
}
else
{
echo
"
The file was not found: "
.
getcwd
()
.
DIRECTORY_SEPARATOR
.
$path
;
echo
"
\n\t
The file was not found: "
.
getcwd
()
.
DIRECTORY_SEPARATOR
.
$path
.
"
\n
"
;
return
;
}
}
...
...
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