mirror of
https://github.com/Mibew/i18n.git
synced 2025-02-02 17:44:42 +03:00
Restrict opening of files outside the Mibew installation
This commit is contained in:
parent
afa06b21e2
commit
84467fbb8d
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user