Skip to content

Commit

Permalink
Converting URL's to lower case.
Browse files Browse the repository at this point in the history
  • Loading branch information
ragtag committed Apr 26, 2023
1 parent e1cdad1 commit 9aeb9c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pbp/panelbypanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public function __construct() {

private function set_root() {
$url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$url = strtolower($url);
$delimiter = "pbp.php";
if (strpos($url, 'thumbs.php')) {
$delimiter = "thumbs.php";
Expand Down

0 comments on commit 9aeb9c1

Please sign in to comment.