1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-11 07:59:44 +01:00

Issue #3019, Issue #3018 Disable Theme caching when running installation in debug mode.

This commit is contained in:
Cameron 2018-02-02 13:35:11 -08:00
parent 0ab3485a84
commit 744a713dd8

View File

@ -1125,6 +1125,10 @@ class e_install
{
$this->previous_steps['prefs']['admincss'] = $tp->filter($_POST['admincss']);
}
else // empty
{
$this->previous_steps['prefs']['admincss'] = 'css/bootstrap-dark.min.css';
}
// ------------- Validate Step 5 Data. --------------------------
if(!vartrue($this->previous_steps['admin']['user']) || !vartrue($this->previous_steps['admin']['password']))
@ -1893,7 +1897,7 @@ if($this->pdo == true)
// require_once($this->e107->e107_dirs['HANDLERS_DIRECTORY']."theme_handler.php");
// $tm = new themeHandler;
$xmlArray = e107::getTheme($theme_folder)->get();
$xmlArray = e107::getTheme($theme_folder, $this->debug)->get();
return (is_array($xmlArray)) ? $xmlArray : false;
}