Skip to content

Instantly share code, notes, and snippets.

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