XE3
Git 최신버전 설치 문제
윈도우즈 환경에서 제대로 설치되지 않는 문제가 발생됩니다.
core/src/Xpressengine/Plugin/PluginEntity.php
이 파일 내 153번째 줄 base_path 함수에 문제가 있는 것으로 확인했고,
이를 realpath 함수로 변경해주면 해결됩니다.
<?php
/**
* 플러그인의 인스턴스를 반환한다.
*
* @return AbstractPlugin
*/
public function getObject()
{
if (isset($this->object) && is_a($this->object, 'Xpressengine\Plugin\AbstractPlugin')) {
return $this->object;
} else {
$pluginFilePath = realpath($this->pluginFile);
if (file_exists($pluginFilePath) === false) {
throw new PluginFileNotFoundException(['path' => $this->pluginFile]);
}
require_once($pluginFilePath);
// reigster each plugin's autoload if autoload.php exist
$this->registerPluginAutoload();
$this->object = new $this->class();
return $this->object;
}
}
0개 댓글