From 874ce4233ea73c7bdd60f2af4b52fb7e310d2ba9 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Mon, 20 Feb 2023 15:49:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=94=B9=E5=96=84=E5=85=BC=E5=AE=B9):=20?= =?UTF-8?q?=E9=92=88=E5=AF=B9PHP7.4=E5=BA=9F=E5=BC=83=E5=87=BD=E6=95=B0get?= =?UTF-8?q?=5Fmagic=5Fquotes=5Fgpc=E8=BF=9B=E8=A1=8C=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor.php b/editor.php index 8ec6b59..64b627e 100644 --- a/editor.php +++ b/editor.php @@ -61,7 +61,7 @@ if (!isset($_GET['path'])) { echo "\n"; if (isset($_POST['content'])) if (trim($_POST['content']) != "") { echo "
文件保存情况报告
\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']);