From 47a38fab3e363db4a7ea083cc1e6fb51e98e2ac7 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Mon, 16 Dec 2013 11:25:08 +0000 Subject: [PATCH] Fix open_basedir on Windows XAMPP (thanks to X Chen) --- src/mibew/libs/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mibew/libs/common.php b/src/mibew/libs/common.php index aad3687c..f5f74139 100644 --- a/src/mibew/libs/common.php +++ b/src/mibew/libs/common.php @@ -16,7 +16,7 @@ */ // Prevent Mibew from access to files outside the installation -@ini_set('open_basedir', dirname(__FILE__) . '/../'); +@ini_set('open_basedir', dirname(dirname(__FILE__))); require_once(dirname(__FILE__) . '/converter.php'); require_once(dirname(__FILE__) . '/config.php');