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
92ec41cc
Commit
92ec41cc
authored
May 08, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved Composer vendor dir into framework
parent
f2258e76
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
.gitignore
.gitignore
+2
-2
composer.json
composer.json
+3
-0
composer.lock
composer.lock
+1
-1
Markdown.php
framework/helpers/base/Markdown.php
+1
-1
Purifier.php
framework/helpers/base/Purifier.php
+1
-1
No files found.
.gitignore
View file @
92ec41cc
...
@@ -13,4 +13,4 @@ nbproject
...
@@ -13,4 +13,4 @@ nbproject
Thumbs.db
Thumbs.db
# composer vendor dir
# composer vendor dir
vendor
/framework/vendor
\ No newline at end of file
\ No newline at end of file
composer.json
View file @
92ec41cc
...
@@ -63,6 +63,9 @@
...
@@ -63,6 +63,9 @@
"irc"
:
"irc://irc.freenode.net/yii"
,
"irc"
:
"irc://irc.freenode.net/yii"
,
"source"
:
"https://github.com/yiisoft/yii2"
"source"
:
"https://github.com/yiisoft/yii2"
},
},
"config"
:
{
"vendor-dir"
:
"framework/vendor"
},
"bin"
:
[
"bin"
:
[
"framework/yiic"
"framework/yiic"
],
],
...
...
composer.lock
View file @
92ec41cc
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
"This file locks the dependencies of your project to a known state",
"This file locks the dependencies of your project to a known state",
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
],
],
"hash": "
8036953eff9eafbdbd4c431929a1d223
",
"hash": "
7d46ce9c4d8d5f4ecae1611ea8f0b49c
",
"packages": [
"packages": [
{
{
"name": "ezyang/htmlpurifier",
"name": "ezyang/htmlpurifier",
...
...
framework/helpers/base/Markdown.php
View file @
92ec41cc
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
namespace
yii\helpers\base
;
namespace
yii\helpers\base
;
\Yii
::
setAlias
(
'@Michelf'
,
\Yii
::
getAlias
(
'@yii
'
)
.
'/../vendor/michelf/php-markdown/Michelf'
);
\Yii
::
setAlias
(
'@Michelf'
,
\Yii
::
getAlias
(
'@yii
/vendor/michelf/php-markdown/Michelf'
)
);
use
Michelf\MarkdownExtra
;
use
Michelf\MarkdownExtra
;
/**
/**
...
...
framework/helpers/base/Purifier.php
View file @
92ec41cc
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
namespace
yii\helpers\base
;
namespace
yii\helpers\base
;
if
(
!
class_exists
(
'HTMLPurifier_Bootstrap'
,
false
))
{
if
(
!
class_exists
(
'HTMLPurifier_Bootstrap'
,
false
))
{
require_once
(
\Yii
::
getAlias
(
'@yii
'
)
.
'/../vendor/ezyang/htmlpurifier/library'
.
DIRECTORY_SEPARATOR
.
'HTMLPurifier.auto.php'
);
require_once
(
\Yii
::
getAlias
(
'@yii
/vendor/ezyang/htmlpurifier/library/HTMLPurifier.auto.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