-
Bug
-
Resolution: Fixed
-
3.0.x
-
None
-
PHP Environment:
Database:
There are some small code formatting issue which got introduced within the last few SVN revisions violating the coding guidelines .
In includes/sessions.php:
else if ($check_script_path && rtrim($this->page['root_script_path'], '/') !== '' )
|
This line has a unneeded tab between '' and ).
$server_port = (!empty($_SERVER['SERVER_PORT'])) ? (int) $_SERVER['SERVER_PORT'] : (int) getenv('SERVER_PORT'); if ($server_port !== 80 && $server_port !== 443 && stripos($ref , ":$server_port") === 0) { $ref = substr($ref, strlen(":$server_port")); }
|
These lines are indented using spaces instead of tabs. Also, there shouldn't be a space after $ref in
stripos($ref , ":$server_port"
|
And finally, there are two spaces instead of one right after $ref, in
$ref = substr($ref, strlen(":$server_port"));
|