diff options
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index b1117eda111..9b728de25aa 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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'; |