mirror of
https://github.com/Mibew/mibew.git
synced 2025-04-24 23:36:07 +03:00
Remove "open_basedir" option.
It brings more problems than profit
This commit is contained in:
parent
0299f597ff
commit
1a8035af4f
@ -20,9 +20,6 @@
|
|||||||
*/
|
*/
|
||||||
define('MIBEW_FS_ROOT', dirname(dirname(__FILE__)));
|
define('MIBEW_FS_ROOT', dirname(dirname(__FILE__)));
|
||||||
|
|
||||||
// Prevent Mibew from access to files outside the installation
|
|
||||||
@ini_set('open_basedir', MIBEW_FS_ROOT);
|
|
||||||
|
|
||||||
// Include configuration file
|
// Include configuration file
|
||||||
require_once(MIBEW_FS_ROOT . '/libs/config.php');
|
require_once(MIBEW_FS_ROOT . '/libs/config.php');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user