forked from GNUsocial/gnu-social
fixed indentation for the pear code styles
This commit is contained in:
parent
738b6d1690
commit
87c59fe873
@ -34,7 +34,7 @@ function getPath($req)
|
|||||||
{
|
{
|
||||||
if ((common_config('site', 'fancy') || !array_key_exists('PATH_INFO', $_SERVER))
|
if ((common_config('site', 'fancy') || !array_key_exists('PATH_INFO', $_SERVER))
|
||||||
&& array_key_exists('p', $req)
|
&& array_key_exists('p', $req)
|
||||||
) {
|
) {
|
||||||
return $req['p'];
|
return $req['p'];
|
||||||
} else if (array_key_exists('PATH_INFO', $_SERVER)) {
|
} else if (array_key_exists('PATH_INFO', $_SERVER)) {
|
||||||
return $_SERVER['PATH_INFO'];
|
return $_SERVER['PATH_INFO'];
|
||||||
|
Loading…
Reference in New Issue
Block a user