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
954b0b5f
Commit
954b0b5f
authored
Jan 22, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more path fixes for apidoc command
parent
b2eb8bce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
apidoc
extensions/apidoc/apidoc
+2
-2
No files found.
extensions/apidoc/apidoc
View file @
954b0b5f
...
@@ -12,7 +12,7 @@ defined('YII_DEBUG') or define('YII_DEBUG', false);
...
@@ -12,7 +12,7 @@ defined('YII_DEBUG') or define('YII_DEBUG', false);
$composerAutoload
=
[
$composerAutoload
=
[
__DIR__
.
'/vendor/autoload.php'
,
// standalone with "composer install" run
__DIR__
.
'/vendor/autoload.php'
,
// standalone with "composer install" run
__DIR__
.
'/../autoload.php'
,
// script is installed as a composer binary
__DIR__
.
'/../
../
autoload.php'
,
// script is installed as a composer binary
];
];
foreach
(
$composerAutoload
as
$autoload
)
{
foreach
(
$composerAutoload
as
$autoload
)
{
if
(
file_exists
(
$autoload
))
{
if
(
file_exists
(
$autoload
))
{
...
@@ -23,7 +23,7 @@ foreach($composerAutoload as $autoload) {
...
@@ -23,7 +23,7 @@ foreach($composerAutoload as $autoload) {
$yiiDirs
=
[
$yiiDirs
=
[
__DIR__
.
'/../../framework'
,
// in yii2-dev repo
__DIR__
.
'/../../framework'
,
// in yii2-dev repo
__DIR__
.
'/vendor/yiisoft/yii2'
,
// standalone with "composer install" run
__DIR__
.
'/vendor/yiisoft/yii2'
,
// standalone with "composer install" run
__DIR__
.
'/../yiisoft/yii2'
,
// script is installed as a composer binary
__DIR__
.
'/../
../
yiisoft/yii2'
,
// script is installed as a composer binary
];
];
foreach
(
$yiiDirs
as
$dir
)
{
foreach
(
$yiiDirs
as
$dir
)
{
if
(
file_exists
(
$dir
.
'/Yii.php'
))
{
if
(
file_exists
(
$dir
.
'/Yii.php'
))
{
...
...
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