mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 08:14:42 +03:00
Fix open_basedir on Windows XAMPP (thanks to X Chen)
This commit is contained in:
parent
a1a798785b
commit
47a38fab3e
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Prevent Mibew from access to files outside the installation
|
// 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__) . '/converter.php');
|
||||||
require_once(dirname(__FILE__) . '/config.php');
|
require_once(dirname(__FILE__) . '/config.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user