diff --git a/src/mibew/libs/init.php b/src/mibew/libs/init.php index 5a17f01a..8561025d 100644 --- a/src/mibew/libs/init.php +++ b/src/mibew/libs/init.php @@ -15,6 +15,9 @@ * limitations under the License. */ +// Prevent Mibew from access to files outside the installation +ini_set('open_basedir', dirname(dirname(__FILE__))); + // Initialize user session session_start();