1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-18 11:51:27 +02:00

truepath can be private

This commit is contained in:
Elan Ruusamäe
2016-01-22 09:04:14 +02:00
parent 72ae74f1c5
commit 9de4e927c7

View File

@@ -188,7 +188,7 @@ class Minify_ImportProcessor {
* @return string The resolved path, it might not exist. * @return string The resolved path, it might not exist.
* @see http://stackoverflow.com/questions/4049856/replace-phps-realpath * @see http://stackoverflow.com/questions/4049856/replace-phps-realpath
*/ */
public function truepath($path) private function truepath($path)
{ {
// whether $path is unix or not // whether $path is unix or not
$unipath = strlen($path) == 0 || $path{0} != '/'; $unipath = strlen($path) == 0 || $path{0} != '/';