mirror of
https://github.com/mrclay/minify.git
synced 2025-08-11 00:24:11 +02:00
Fix Array and string offset access syntax with curly braces is deprecated
This commit is contained in:
committed by
Elan Ruusamäe
parent
b17c00c05c
commit
b89bc57164
@@ -182,7 +182,7 @@ class Minify_ImportProcessor
|
||||
private function truepath($path)
|
||||
{
|
||||
// whether $path is unix or not
|
||||
$unipath = ('' === $path) || ($path{0} !== '/');
|
||||
$unipath = ('' === $path) || ($path[0] !== '/');
|
||||
|
||||
// attempts to detect if path is relative in which case, add cwd
|
||||
if (strpos($path, ':') === false && $unipath) {
|
||||
|
Reference in New Issue
Block a user