1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-14 01:54:11 +02:00

use origin function instead of alias

This commit is contained in:
Elan Ruusamäe
2018-01-05 14:31:13 +02:00
parent 2198482600
commit 57be61586e
2 changed files with 3 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ class Minify_ClosureCompiler
$this->getOptionsCommandLine($userOptions)
);
return join(' ', $args) . ' ' . escapeshellarg($tmpFile);
return implode(' ', $args) . ' ' . escapeshellarg($tmpFile);
}
/**

View File

@@ -63,7 +63,7 @@ class Minify_NailgunClosureCompiler extends Minify_ClosureCompiler
$server = array(
self::$javaExecutable,
'-server',
'-cp', join(':', $classPath),
'-cp', implode(':', $classPath),
self::NG_SERVER,
);
@@ -101,7 +101,7 @@ class Minify_NailgunClosureCompiler extends Minify_ClosureCompiler
private function startServer()
{
$serverCommand = join(' ', $this->getServerCommandLine());
$serverCommand = implode(' ', $this->getServerCommandLine());
$psCommand = $this->shell("ps -o cmd= -C " . self::$javaExecutable);
if (array_search($serverCommand, $psCommand) !== false) {
// already started!