mirror of
https://github.com/friendica/friendica
synced 2024-11-20 14:23:41 +00:00
spaces added according code convention and CR + fixed tzpo in function name (opps)
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
fda99e39c1
commit
0ac1af7300
1 changed files with 2 additions and 2 deletions
4
boot.php
4
boot.php
|
@ -699,10 +699,10 @@ class App {
|
||||||
// removing trailing / - maybe a nginx problem
|
// removing trailing / - maybe a nginx problem
|
||||||
$this->query_string = lrim($this->query_string, '/');
|
$this->query_string = lrim($this->query_string, '/');
|
||||||
} elseif ((x($_SERVER, 'QUERY_STRING')) && substr($_SERVER['QUERY_STRING'], 0, 2) === "q=") {
|
} elseif ((x($_SERVER, 'QUERY_STRING')) && substr($_SERVER['QUERY_STRING'], 0, 2) === "q=") {
|
||||||
$this->query_string = substr($_SERVER['QUERY_STRING'],2);
|
$this->query_string = substr($_SERVER['QUERY_STRING'], 2);
|
||||||
|
|
||||||
// removing trailing / - maybe a nginx problem
|
// removing trailing / - maybe a nginx problem
|
||||||
$this->query_string = lrim($this->query_string, '/');
|
$this->query_string = ltrim($this->query_string, '/');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (x($_GET, 'pagename')) {
|
if (x($_GET, 'pagename')) {
|
||||||
|
|
Loading…
Reference in a new issue