#18729102 : support editor document style in easy installation

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7487 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-05-26 03:02:50 +00:00
parent d0c7dfcfaf
commit c6440cb9aa
3 changed files with 7 additions and 3 deletions

View file

@ -304,6 +304,7 @@
$xmlDoc = $xml->loadXmlFile(FileHandler::getRealPath($path).$config_file);
if(!$xmlDoc) $this->stop("msg_invalid_request");
if($type == "drcomponent") $type = "component";
if($type == "style") $type = "skin";
$title = $xmlDoc->{$type}->title->body;
$installedPackage->title = $title;
$installedPackage->type = $type;