From fd2e83222c7f86837080988f69a253a3324ec4f2 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 20 Feb 2019 01:03:48 +0900 Subject: [PATCH] Update uri.php --- system/uri.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/system/uri.php b/system/uri.php index 4c76c73..ef77081 100644 --- a/system/uri.php +++ b/system/uri.php @@ -297,5 +297,13 @@ if(!function_exists("set_header_content_type")) { } } +if(!function_exists("get_requested_json")) { + function get_requested_json($name, $escape_quotes=true, $escape_tags=false) { + return get_requested_value($name, "_JSON", $escape_quotes, $escape_tags); + } +} + // set scope set_scope("requests", read_requests()); + +//EOF