Update security.php

This commit is contained in:
Namhyeon Go 2019-05-13 18:58:51 +09:00 committed by GitHub
parent c471e1bef2
commit c5b499718a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -551,12 +551,6 @@ if(!check_function_exists("make_safe_argument")) {
}
}
if(!check_function_exists("make_safe_path")) {
function make_safe_path($path) {
return str_replace("../", "", $path);
}
}
// https://stackoverflow.com/questions/14673551/encrypt-decrypt-with-xor-in-php
if(!check_function_exists("get_xor_text")) {
function get_xor_text($key, $string, $debug=false) {