mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-28 00:28:51 +00:00
4 lines
155 B
PHP
Executable File
4 lines
155 B
PHP
Executable File
<?php
|
|
// Fix DocumentRoot for VirtualDocumentRoot Hosts
|
|
$_SERVER['DOCUMENT_ROOT'] = str_replace($_SERVER['SCRIPT_NAME'], '', $_SERVER['SCRIPT_FILENAME']);
|