Skip to content

Commit

Permalink
修改go.php中错误的@用法
Browse files Browse the repository at this point in the history
  • Loading branch information
Lvshujun0918 committed Mar 25, 2024
1 parent c75c2d9 commit 07f5ec2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/go.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

include '../../../../wp-blog-header.php';
pk_set_custom_seo("链接跳转");
$url = @$_GET['to'];
$name = @$_GET['name'];
$url = $_GET['to'] ?? '';
$name = $_GET['name'] ?? '';
if (!empty($name)) {
$name = base64_decode(str_replace(' ','+',$name));
}
Expand Down

0 comments on commit 07f5ec2

Please sign in to comment.