Browse Source

Moved Composer vendor dir into framework

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
92ec41cc7b
  1. 2
      .gitignore
  2. 3
      composer.json
  3. 2
      composer.lock
  4. 2
      framework/helpers/base/Markdown.php
  5. 2
      framework/helpers/base/Purifier.php

2
.gitignore vendored

@ -13,4 +13,4 @@ nbproject
Thumbs.db Thumbs.db
# composer vendor dir # composer vendor dir
vendor /framework/vendor

3
composer.json

@ -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

@ -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",

2
framework/helpers/base/Markdown.php

@ -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;
/** /**

2
framework/helpers/base/Purifier.php

@ -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'));
} }
/** /**

Loading…
Cancel
Save