fixing syntax error - sorry for that

This commit is contained in:
Thomas Müller 2012-09-04 15:46:43 +03:00
parent 2028500c0a
commit aff08925c1

View 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';