mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
Moved Composer vendor dir into framework
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
namespace yii\helpers\base;
|
||||
|
||||
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