mrclay/minify — Issue #7: Notice: Undefined index: HTTP_USER_AGENT in /path/to/min/lib/HTTP/Encoder.php on 321
Author: lencioni
Created: 2011-10-13 13:12:05+00:00
State: open

Backtrace:

/path/to/min/lib/HTTP/Encoder.php (line 321)
/path/to/min/lib/Minify.php (line 226) HTTP_Encoder::isBuggyIe()
/path/to/min/index.php (line 66) Minify::serve()

$_SERVER:

Array
(
[REDIRECT_VERSIONED_FILE] => 1
[REDIRECT_STATUS] => 200
[HTTP_HOST] => myhost.com
[HTTP_ACCEPT] => */*
[HTTP_CONNECTION] => close
[PATH] => /sbin:/usr/sbin:/bin:/usr/bin
[SERVER_SIGNATURE] =>
[SERVER_SOFTWARE] => Apache/2.2.15 (Red Hat)
[SERVER_NAME] => myhost.com
[SERVER_ADDR] => ###.###.###.###
[SERVER_PORT] => 80
[REMOTE_ADDR] => ###.###.###.###
[DOCUMENT_ROOT] => /path/to/files/
[SERVER_ADMIN] => user@myhost.com
[SCRIPT_FILENAME] => /path/to/file.php
[REMOTE_PORT] => 18133
[REDIRECT_URL] => /css/myfile.v25.css
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.0
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /css/myfile.v25.css
[SCRIPT_NAME] => /path/to/file.php
[PHP_SELF] => /path/to/file.php
[REQUEST_TIME] => 1318458030
)