diff options
author | Robin <robin@Amaya.(none)> | 2010-03-15 15:41:53 +0100 |
---|---|---|
committer | Robin <robin@Amaya.(none)> | 2010-03-15 15:41:53 +0100 |
commit | 35b9aabd0185b1e3dffac7a8138b3940cca64f72 (patch) | |
tree | 155e4e9aa843adcc68ba807df037f0072218b2a2 /index.php | |
parent | 6bb0022345cb36d510d57bcae6a52e1f5fb0174d (diff) | |
download | nextcloud-server-35b9aabd0185b1e3dffac7a8138b3940cca64f72.tar.gz nextcloud-server-35b9aabd0185b1e3dffac7a8138b3940cca64f72.zip |
do not asume owncloud is installed in the root of the webserver
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php index 438d2fef0df..75273f73cf9 100755 --- a/index.php +++ b/index.php @@ -32,14 +32,14 @@ if(isset($_GET['file'])) { }else{ - OC_USER::loginlistener(); - OC_USER::logoutlistener(); + OC_USER::loginlisener(); + OC_USER::logoutlisener(); OC_UTIL::showheader(); OC_FILES::showbrowser($CONFIG_DATADIRECTORY,$dir); - echo('<p class="hint">Hint: Mount it via webdav like this: <a href="webdav://'.$_SERVER["HTTP_HOST"].'/webdav/owncloud.php">webdav://'.$_SERVER["HTTP_HOST"].'/webdav/owncloud.php</a></p>'); + echo('<br /><br /><p class="hint">Hint: Mount it via webdav like this: <a href="webdav://'.$CONFIG_SITEROOT.'/webdav/owncloud.php">webdav://'.$CONFIG_SITEROOT.'/webdav/owncloud.php</a></p>'); OC_UTIL::showfooter(); |