Restrict opening of files outside the Mibew installation

This commit is contained in:
Fedor A. Fetisov 2013-09-13 14:34:59 +04:00
parent afa06b21e2
commit 84467fbb8d

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
@ini_set('open_basedir', dirname(__FILE__) . '/../');
session_start(); session_start();
require_once(dirname(__FILE__) . '/converter.php'); require_once(dirname(__FILE__) . '/converter.php');