Update uri.php

This commit is contained in:
Namhyeon Go 2018-09-30 03:25:48 +09:00 committed by GitHub
parent 71d90c70c6
commit 79aa5cdd7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,16 @@ if(!function_exists("get_uri")) {
if(!function_exists("read_requests")) { if(!function_exists("read_requests")) {
function read_requests() { function read_requests() {
// process http encryption
$config = get_config();
$httpencrypt = strtolower(get_value_in_array("httpencrypt", $config, ""));
if($httpencrypt == "jcryption") {
if(loadHelper("jcryption.lnk")) {
eval(get_jcryption_code());
}
}
// process requests
$requests = array( $requests = array(
"_ALL" => $_REQUEST, "_ALL" => $_REQUEST,
"_POST" => $_POST, "_POST" => $_POST,