mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-25 07:21:04 +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']);
|