mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
More useful debug
This commit is contained in:
10
install_.php
10
install_.php
@@ -1260,13 +1260,15 @@ class e_install
|
|||||||
// [SecretR] should work now - fixed log errors (argument noLogs = true) change to false to enable log
|
// [SecretR] should work now - fixed log errors (argument noLogs = true) change to false to enable log
|
||||||
|
|
||||||
$coreConfig = $this->e107->e107_dirs['CORE_DIRECTORY']. "xml/default_install.xml";
|
$coreConfig = $this->e107->e107_dirs['CORE_DIRECTORY']. "xml/default_install.xml";
|
||||||
e107::getXml()->e107Import($coreConfig, 'add', true, false); // Add core pref values
|
$ret = e107::getXml()->e107Import($coreConfig, 'add', true, false); // Add core pref values
|
||||||
$this->logLine('Core prefs written');
|
$this->logLine('Attempting to Write Core Prefs.');
|
||||||
|
$this->logLine(print_r($ret, true));
|
||||||
|
|
||||||
if($XMLImportfile) // We cannot rely on themes to include all prefs..so use 'replace'.
|
if($XMLImportfile) // We cannot rely on themes to include all prefs..so use 'replace'.
|
||||||
{
|
{
|
||||||
e107::getXml()->e107Import($XMLImportfile, 'replace', true, false); // Overwrite specific core pref and tables entries.
|
$ret2 = e107::getXml()->e107Import($XMLImportfile, 'replace', true, false); // Overwrite specific core pref and tables entries.
|
||||||
$this->logLine('Theme Prefs/Tables (install.xml) written');
|
$this->logLine('Attempting to write Theme Prefs/Tables (install.xml)');
|
||||||
|
$this->logLine(print_r($ret2, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
//Create default plugin-table entries.
|
//Create default plugin-table entries.
|
||||||
|
Reference in New Issue
Block a user