]> git.mxchange.org Git - mailer.git/blobdiff - inc/header.php
Rewrites not to init config in config-functions.php (some still remain, many untested)
[mailer.git] / inc / header.php
index ce68e543888a0d9fd59473b1f0740b7dc5891420..34feadb23c9e766ac0ce013d410a40996a8de436 100644 (file)
@@ -48,7 +48,7 @@ if (($GLOBALS['header_sent'] != 1) && ($GLOBALS['header_sent'] != 2)) {
        // If not in CSS mode generate the header
        if (getOutputMode() != 1) {
                // Config and database connection valid?
        // If not in CSS mode generate the header
        if (getOutputMode() != 1) {
                // Config and database connection valid?
-               if ((isConfigLocalLoaded()) && (isConfigLoaded()) && (SQL_IS_LINK_UP()) && (isExtensionActive('sql_patches'))) {
+               if ((isConfigLocalLoaded()) && (isConfigLoaded()) && (SQL_IS_LINK_UP()) && (isExtensionInstalledAndNewer('sql_patches', '0.1.6'))) {
                        // Init title
                        $TITLE = '';
 
                        // Init title
                        $TITLE = '';