mirror of
https://github.com/xiaoqidun/phpcp.git
synced 2024-12-21 21:21:08 +08:00
feat(改善兼容): 针对PHP7.4废弃函数get_magic_quotes_gpc进行处理
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
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…
x
Reference in New Issue
Block a user