From: Roland Häder Date: Fri, 6 Mar 2009 17:49:58 +0000 (+0000) Subject: Fix for installation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e3c80ba24d088d7c8cd300e01356e9f87465ee39;p=mailer.git Fix for installation --- diff --git a/inc/functions.php b/inc/functions.php index dcdfdc6ea0..98eddd5d9b 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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 diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index 0b60390d92..80d25fc12c 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -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")) {