fixing syntax error - sorry for that

remotes/origin/stable45
Thomas Müller 14 years ago
parent 2028500c0a
commit aff08925c1
  1. 2
      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';

Loading…
Cancel
Save