mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-28 16:48:51 +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']);
|