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

Emotes and other prefs were missing from default_install.xml.

This commit is contained in:
CaMer0n
2009-08-31 02:49:02 +00:00
parent 3f488842b0
commit 40aac31efa
4 changed files with 335 additions and 17 deletions

View File

@@ -9,9 +9,9 @@
* e107 Preference Handler
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/pref_class.php,v $
* $Revision: 1.14 $
* $Date: 2009-08-27 23:37:24 $
* $Author: secretr $
* $Revision: 1.15 $
* $Date: 2009-08-31 02:49:01 $
* $Author: e107coders $
*/
if (!defined('e107_INIT')) { exit; }
@@ -615,7 +615,7 @@ final class e_core_pref extends e_pref
*
* @var array
*/
protected $aliases = array(
public $aliases = array(
'core' => 'SitePrefs',
'core_backup' => 'SitePrefs_Backup',
'core_old' => 'pref',

View File

@@ -9,8 +9,8 @@
* Simple XML Parser
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/xml_class.php,v $
* $Revision: 1.17 $
* $Date: 2009-08-31 02:00:51 $
* $Revision: 1.18 $
* $Date: 2009-08-31 02:49:02 $
* $Author: e107coders $
*/
@@ -636,7 +636,8 @@ class xmlClass
}
$ret = array();
//FIXME - doesn't appear to be saving other prefs - only core prefs.
if(vartrue($xmlArray['prefs']) && $only !='database') // Save Core Prefs
{
foreach($xmlArray['prefs'] as $type=>$array)