mirror of https://github.com/xiaoqidun/phpcp.git
feat(改善兼容): 针对PHP7.4废弃函数get_magic_quotes_gpc进行处理
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
parent
284df68a3e
commit
874ce4233e
|
@ -61,7 +61,7 @@ if (!isset($_GET['path'])) {
|
|||
echo "</div>\n";
|
||||
if (isset($_POST['content'])) if (trim($_POST['content']) != "") {
|
||||
echo "<div class=\"like\">文件保存情况报告</div>\n";
|
||||
if (!get_magic_quotes_gpc()) {
|
||||
if (!function_exists("get_magic_quotes_gpc") || !get_magic_quotes_gpc()) {
|
||||
$fcontent = $_POST['content'];
|
||||
} else {
|
||||
$fcontent = stripslashes($_POST['content']);
|
||||
|
|
Loading…
Reference in New Issue