diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-06-16 00:35:09 +0400 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-06-16 02:11:36 +0400 |
commit | 0f19397b01d34c841ce8a666dc3b92d2b42a4de7 (patch) | |
tree | 0f5f25dbc88ae6446d27ac781318964f5ec86754 /user_webfinger | |
parent | 79b8404f5d7f7692c79fe5bb319b34b13e3a1dd8 (diff) |
Remove $DOCUMENTROOT, not used
Diffstat (limited to 'user_webfinger')
-rw-r--r-- | user_webfinger/webfinger.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/user_webfinger/webfinger.php b/user_webfinger/webfinger.php index e75c546c2..39ab4ba6b 100644 --- a/user_webfinger/webfinger.php +++ b/user_webfinger/webfinger.php @@ -17,13 +17,6 @@ header("Content-Type: application/xrd+json"); * '* but can also use complex database queries to generate the webfinger result **/ -// calculate the documentroot -// modified version of the one in lib/base.php that takes the .well-known symlink into account -/*$DOCUMENTROOT=realpath($_SERVER['DOCUMENT_ROOT']); -$SERVERROOT=str_replace("\\",'/',dirname(dirname(dirname(dirname(__FILE__))))); -$SUBURI=substr(realpath($_SERVER["SCRIPT_FILENAME"]),strlen($SERVERROOT)); -$WEBROOT=substr($SUBURI,0,-34); -*/ $userName = ''; $hostName = ''; |