]> git.mxchange.org Git - friendica.git/commitdiff
Opps, missed one ...
authorRoland Haeder <roland@mxchange.org>
Thu, 23 Mar 2017 20:45:00 +0000 (21:45 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 23 Mar 2017 20:45:00 +0000 (21:45 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
boot.php

index cf14fdd863a9402b5f2d28fa442570e2e798ca4b..3070005d4c55ba7e7eaf28cc3e1d7cf84598bca1 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -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;
                        }
                }