Skip to content

Instantly share code, notes, and snippets.

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