From aff08925c1a831ca494bdabcd96ed97f15d0f08b Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Tue, 4 Sep 2012 15:46:43 +0300 Subject: fixing syntax error - sorry for that --- lib/base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- cgit v1.2.3