Fix for installation
authorRoland Häder <roland@mxchange.org>
Fri, 6 Mar 2009 17:49:58 +0000 (17:49 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 6 Mar 2009 17:49:58 +0000 (17:49 +0000)
inc/functions.php
inc/mysql-connect.php

index dcdfdc6..98eddd5 100644 (file)
@@ -47,8 +47,8 @@ function IS_INC_WRITEABLE ($inc) {
                return false;
        } // END - if
 
-       // Test write-access
-       return is_writeable($FQFN);
+       // Test write-access on directory
+       return is_writeable(dirname($FQFN));
 }
 
 // Output HTML code directly or "render" it. You addionally switch the new-line character off
index 0b60390..80d25fc 100644 (file)
@@ -228,6 +228,9 @@ if ((!isInstalling()) && (isInstalled())) {
 
        // Run the init filter chain
        runFilterChain('init');
+
+       // Load extension 'sql_patches'
+       LOAD_EXTENSION("sql_patches");
 }
 
 if ((getTotalFatalErrors() > 0) && (isInstalled()) && (!defined('mxchange_installing')) && ($GLOBALS['output_mode'] != "1")) {