]> git.mxchange.org Git - friendica.git/commitdiff
fix directory
authorfriendica <info@friendica.com>
Mon, 19 Nov 2012 07:44:03 +0000 (23:44 -0800)
committerfriendica <info@friendica.com>
Mon, 19 Nov 2012 07:44:03 +0000 (23:44 -0800)
boot.php

index a34856ee7157bbfd978bd03795426f9a601c10c2..b00424f95046f700279c04c7e6757e2fb8147ce5 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -437,8 +437,9 @@ if(! class_exists('App')) {
                                if(isset($path) && strlen($path) && ($path != $this->path))
                                        $this->path = $path;
                        }
-                       if (is_array($argv) && $argc>1 && !x($_SERVER,'SERVER_NAME') && substr(end($argv), 0, 4)=="http" ) {
+                       if (is_array($argv) && $argc>1 && substr(end($argv), 0, 4)=="http" ) {
                                $this->set_baseurl(array_pop($argv) );
+                               $argc --;
                        }
 
                        set_include_path(