mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Support installing/updating namespaced modules
모듈 설치 및 업데이트 메소드를 Rhymix\Modules\모듈명\Install 클래스에 넣을 수 있도록 지원한다. 이 클래스가 있는 경우 모듈명과 동일한 클래스를 찾지 않는다. 이로써 클래스 전체를 네임스페이스화할 수 있게 되었다.
This commit is contained in:
parent
adbd29231f
commit
f334889047
5 changed files with 38 additions and 19 deletions
|
|
@ -316,7 +316,7 @@ class autoinstallModel extends autoinstall
|
|||
{
|
||||
$path_array = explode("/", $path);
|
||||
$target_name = array_pop($path_array);
|
||||
$oModule = getModule($target_name, "class");
|
||||
$oModule = ModuleModel::getModuleInstallClass($target_name);
|
||||
if(!$oModule)
|
||||
{
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue