Skip to content

Instantly share code, notes, and snippets.

@Zodiac1978
Forked from sergejmueller/info.php
Created June 30, 2017 15:57
Embed
What would you like to do?
Ausgabe des DocumentRoot-Verzeichnises. Notwendig als Ersatz für die nicht verfügbare Apache (.htaccess) DocumentRoot-Direktive. http://httpd.apache.org/docs/2.0/mod/core.html#documentroot
<?php echo rtrim($_SERVER['DOCUMENT_ROOT'], '/') ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment