1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Notice removal and some more default install-settings correction.

This commit is contained in:
CaMer0n
2009-08-31 13:12:03 +00:00
parent 40aac31efa
commit d7a50e2647
7 changed files with 55 additions and 37 deletions

View File

@@ -9,8 +9,8 @@
* e107 Main
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/e107_class.php,v $
* $Revision: 1.40 $
* $Date: 2009-08-29 02:44:39 $
* $Revision: 1.41 $
* $Date: 2009-08-31 13:12:03 $
* $Author: e107coders $
*/
@@ -107,7 +107,8 @@ class e107
'e_jshelper' => '{e_HANDLER}js_helper.php',
'e_menu' => '{e_HANDLER}menu_class.php',
'e107plugin' => '{e_HANDLER}plugin_class.php',
'xmlClass' => '{e_HANDLER}xml_class.php'
'xmlClass' => '{e_HANDLER}xml_class.php',
'eMessage' => '{e_HANDLER}message_handler.php'
);

View File

@@ -9,8 +9,8 @@
* Simple XML Parser
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/xml_class.php,v $
* $Revision: 1.18 $
* $Date: 2009-08-31 02:49:02 $
* $Revision: 1.19 $
* $Date: 2009-08-31 13:12:03 $
* $Author: e107coders $
*/
@@ -637,7 +637,7 @@ class xmlClass
$ret = array();
//FIXME - doesn't appear to be saving other prefs - only core prefs.
//FIXME - doesn't work from install_.php.
if(vartrue($xmlArray['prefs']) && $only !='database') // Save Core Prefs
{
foreach($xmlArray['prefs'] as $type=>$array)
@@ -645,7 +645,8 @@ class xmlClass
foreach ($array as $val)
{
$value = (substr($val['@value'],0,7) == "array (") ? e107::getArrayStorage()->ReadArray($val['@value']) : $val['@value'];
e107::getConfig($type)->set($val['@attributes']['name'], $value);
e107::getConfig($type)->set($val['@attributes']['name'], $value);
}
e107::getConfig($type)->save(FALSE);