mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
issue 2705 when delete last instance of layout, layout uninstall also
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12275 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
02c0909e26
commit
41fc5be074
4 changed files with 56 additions and 11 deletions
|
|
@ -215,6 +215,10 @@ class autoinstallModel extends autoinstall
|
|||
if($path == ".") return "core";
|
||||
$path_array = explode("/", $path);
|
||||
$target_name = array_pop($path_array);
|
||||
if(!$target_name)
|
||||
{
|
||||
$target_name = array_pop($path_array);
|
||||
}
|
||||
$type = substr(array_pop($path_array), 0, -1);
|
||||
return $type;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue