// Prepares the header for HTML output
function loadHtmlHeader () {
- // Enable HTML templates
- enableTemplateHtml();
-
// Run two filters:
// 1.) pre_page_header (mainly loads the page_header template and includes
// meta description)
// Init message system
initMessages();
+// Enable HTML templates by default
+enableTemplateHtml();
+
// Are we in installation phase?
if ((!isInstalling()) && (!isInstallationPhase())) {
// Load configuration file(s) here
// CSS array
initExtensionCssFiles();
- if ((!empty($GLOBALS['mysql']['host'])) && (!empty($GLOBALS['mysql']['login'])) && (!empty($GLOBALS['mysql']['password'])) && (!empty($GLOBALS['mysql']['dbase']))) {
+ if ((!empty($GLOBALS['mysql']['host'])) && (!empty($GLOBALS['mysql']['login'])) && (!empty($GLOBALS['mysql']['dbase']))) {
// Connect to DB
SQL_CONNECT($GLOBALS['mysql']['host'], $GLOBALS['mysql']['login'], $GLOBALS['mysql']['password'], __FILE__, __LINE__);