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 dcdfdc6ea03845940ec3fa110573bb0b6d0564b3..98eddd5d9bea9b2ab84eac3e241ea1db7e0fe16e 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 0b60390d9227f7b19fce04dbb1ac7f3a1d4184b2..80d25fc12c357a969fffd2f6f26e597dd1e89bdf 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")) {