Fix open_basedir on Windows XAMPP (thanks to X Chen)

This commit is contained in:
Dmitriy Simushev 2013-12-16 11:25:08 +00:00
parent a1a798785b
commit 47a38fab3e

View File

@ -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');