]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixing syntax error - sorry for that
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 12:46:43 +0000 (15:46 +0300)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 12:46:43 +0000 (15:46 +0300)
lib/base.php

index b1117eda1113f004e372bd0a8ae4a32344d67ec3..9b728de25aa7951fdb024d0c558e6b70a9f617f5 100644 (file)
@@ -110,7 +110,7 @@ class OC{
                        $scriptName.='index.php';
                        //make sure suburi follows the same rules as scriptName
                        if(substr(OC::$SUBURI, -9)!='index.php') {
-                               if(substr(OC::$SUBURI,-1)!='/' {
+                               if(substr(OC::$SUBURI, -1)!='/') {
                                        OC::$SUBURI=OC::$SUBURI.'/';
                                }
                                OC::$SUBURI=OC::$SUBURI.'index.php';