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']);