Opps, missed one ...

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-03-23 21:45:00 +01:00
parent 221cfa8c22
commit 47602577f3
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -675,8 +675,8 @@ class App {
* or in a sub-directory and adjust accordingly
*/
$path = trim(dirname($_SERVER['SCRIPT_NAME']),'/\\');
if (isset($path) && strlen($path) && ($path != $this->path))
$path = trim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
if (isset($path) && strlen($path) && ($path != $this->path)) {
$this->path = $path;
}
}