summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2012-09-04 15:46:43 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2012-09-04 15:46:43 +0300
commitaff08925c1a831ca494bdabcd96ed97f15d0f08b (patch)
tree38252253da58798ca3e76b22af793af446b9d162
parent2028500c0a46440c635d0fb8daec38abc4742700 (diff)
downloadnextcloud-server-aff08925c1a831ca494bdabcd96ed97f15d0f08b.tar.gz
nextcloud-server-aff08925c1a831ca494bdabcd96ed97f15d0f08b.zip
fixing syntax error - sorry for that
-rw-r--r--lib/base.php2
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';