Update webapp.php

This commit is contained in:
Namhyeon Go 2019-02-23 06:49:43 +09:00 committed by GitHub
parent fee82cecc7
commit d306929844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,8 @@
* @brief Compatible for legacy applications
*/
loadHelper("isemail.lnk");
if(!defined("_DEF_RSF_")) set_error_exit("do not allow access");
// Protect GET method
@ -23,6 +25,9 @@ foreach($_REQUEST as $k=>$v) {
$_REQUEST[$k] = get_requested_value($k, "_ALL");
}
// SET UTF8MB4
exec_db_query("set names utf8mb4");
// get routes
$routes = read_route_all();