]> source.dussan.org Git - nextcloud-server.git/commit
Only calculate the WEBROOT from scriptName if it contains $SUBURI
authorJoas Schilling <nickvergessen@gmx.de>
Mon, 7 Jul 2014 13:01:02 +0000 (15:01 +0200)
committerJoas Schilling <nickvergessen@gmx.de>
Mon, 7 Jul 2014 13:08:46 +0000 (15:08 +0200)
commit5d3e1bc023d48bc080fa0a65dad120b7e2530867
tree8769230bf4c806ec8af0be2e2e9aa83f67bd484a
parente8537afd60d2c5d37e48a99aca9e72394cc044dd
Only calculate the WEBROOT from scriptName if it contains $SUBURI

If not we are most likely in CLI mode. However to be able to still
generate valid URLs, we need to use the overwrite webroot instead.

Fix #9490
lib/base.php