mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-01 02:26:40 +00:00
4 lines
155 B
PHP
4 lines
155 B
PHP
|
<?php
|
||
|
// Fix DocumentRoot for VirtualDocumentRoot Hosts
|
||
|
$_SERVER['DOCUMENT_ROOT'] = str_replace($_SERVER['SCRIPT_NAME'], '', $_SERVER['SCRIPT_FILENAME']);
|