mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Fixes #786 - Plugin builder missing keywords from found plugin.xml
This commit is contained in:
@@ -1890,7 +1890,8 @@ class pluginBuilder
|
|||||||
if(file_exists($existingXml))
|
if(file_exists($existingXml))
|
||||||
{
|
{
|
||||||
$p = e107::getXml()->loadXMLfile($existingXml,true);
|
$p = e107::getXml()->loadXMLfile($existingXml,true);
|
||||||
// print_a($p);
|
|
||||||
|
// print_a($p);
|
||||||
$defaults = array(
|
$defaults = array(
|
||||||
"main-name" => varset($p['@attributes']['name']),
|
"main-name" => varset($p['@attributes']['name']),
|
||||||
"author-name" => varset($p['author']['@attributes']['name']),
|
"author-name" => varset($p['author']['@attributes']['name']),
|
||||||
@@ -1898,6 +1899,8 @@ class pluginBuilder
|
|||||||
"description-description" => varset($p['description']),
|
"description-description" => varset($p['description']),
|
||||||
"summary-summary" => varset($p['summary'], $p['description']),
|
"summary-summary" => varset($p['summary'], $p['description']),
|
||||||
"category-category" => varset($p['category']),
|
"category-category" => varset($p['category']),
|
||||||
|
"keywords-one" => varset($p['keywords']['word'][0]),
|
||||||
|
"keywords-two" => varset($p['keywords']['word'][1]),
|
||||||
);
|
);
|
||||||
|
|
||||||
unset($p);
|
unset($p);
|
||||||
|
Reference in New Issue
Block a user