mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 18:38:31 +03:00
Restrict opening of files outside the Mibew installation
This commit is contained in:
parent
5de084e63e
commit
24f1a64fca
@ -15,6 +15,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Prevent Mibew from access to files outside the installation
|
||||||
|
ini_set('open_basedir', dirname(dirname(__FILE__)));
|
||||||
|
|
||||||
// Initialize user session
|
// Initialize user session
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user