Skip to content

Commit

Permalink
Merge pull request #217 from kbahey/1.x-1.x
Browse files Browse the repository at this point in the history
Fixes #214: Suppress error: "Undefined index q" when fast_404 enabled
  • Loading branch information
yorkshire-pudding authored Oct 6, 2022
2 parents 731ffdc + 91149ee commit 96701fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/miscellaneous.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function bee_initialize_server() {
$_SERVER['SCRIPT_NAME'] = '/index.php';
$_SERVER['PHP_SELF'] = '/index.php';
$_SERVER['HTTP_USER_AGENT'] = 'Bee';
$_GET['q'] = 'node';
}

/**
Expand Down

0 comments on commit 96701fa

Please sign in to comment.