ext-sql_patches must be at least 0.8.3
authorRoland Häder <roland@mxchange.org>
Thu, 28 Jul 2011 04:45:33 +0000 (04:45 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 28 Jul 2011 04:45:33 +0000 (04:45 +0000)
index.php

index de74187c5adbe58b16ceb6ea6920cbbc7d01c08d..ce9671da93c10612b8a3ff1fbed8363007f1d640 100644 (file)
--- a/index.php
+++ b/index.php
@@ -56,7 +56,7 @@ $GLOBALS['output_mode'] = '0';
 require('inc/config-global.php');
 
 // Shall we display 'home' in index.php?
-if (isDisplayHomeInIndexEnabled()) {
+if ((isExtensionInstalledAndNewer('sql_patches', '0.8.3') && (isDisplayHomeInIndexEnabled())) {
        // Include module
        doIncludeModule();
 } else {