1
0
mirror of https://github.com/mrclay/minify.git synced 2025-03-13 17:09:39 +01:00

Add temp location to server-info.php

This commit is contained in:
Steve Clay 2016-10-02 05:37:07 -04:00 committed by GitHub
parent 140673f5b6
commit 2d2e06f438

View File

@ -16,10 +16,13 @@ if (!$enabled) {
header('Content-Type: text/plain');
$file = __FILE__;
$tmp = sys_get_temp_dir();
echo <<<EOD
__FILE__ : $file
SCRIPT_FILENAME : {$_SERVER['SCRIPT_FILENAME']}
DOCUMENT_ROOT : {$_SERVER['DOCUMENT_ROOT']}
SCRIPT_NAME : {$_SERVER['SCRIPT_NAME']}
REQUEST_URI : {$_SERVER['REQUEST_URI']}
Cache directory : $tmp
EOD;