octicon-rss(16/)
You've already forked yii2
mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-10 02:13:17 +08:00
Moved Composer vendor dir into framework
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
octicon-diff(16/tw-mr-1) 5 changed files with 7 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
@@ -13,4 +13,4 @@ nbproject
|
|||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
# composer vendor dir
|
# composer vendor dir
|
||||||
vendor
|
/framework/vendor
|
||||||
@@ -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"
|
||||||
],
|
],
|
||||||
|
|||||||
2
composer.lock
generated
2
composer.lock
generated
@@ -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",
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user