opendocman/opendocman — pull request #165 by samwilson (2014-07-07 04:39:24+00:00)
Title: Use realpath() to find temp uploaded file

The [`is_uploaded_file()`](http://php.net/manual/en/function.is-uploaded-file.php) function doesn't work as expected on case-sensitive filesystems (i.e. Windows), depending on how `%TEMP%` is defined. Using `realpath()` beforehand fixes this, and the function works correctly.