Restrict opening of files outside the Mibew installation

This commit is contained in:
Fedor A. Fetisov 2013-10-28 15:29:29 +04:00
parent 5de084e63e
commit 24f1a64fca

View File

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