Skip to content

Commit 3233bf3

Browse files
committed
fixed jar file path
1 parent 6aeacba commit 3233bf3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

samples/sample.php

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
*/
4747
$phpcc = new tureki\PhpCc(array(
4848
'java_file' => 'YOUR_JAVA_FILE_PATH',
49-
'jar_file' => '../src/compiler/compiler.jar',
5049
'output_path' => './output/',
5150
'optimization' => 'SIMPLE_OPTIMIZATIONS',
5251
'charset' => 'utf-8'

src/tureki/PhpCc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct($options)
3535

3636
$this->options = array(
3737
'java_file' => 'java',
38-
'jar_file' => 'compiler.jar',
38+
'jar_file' => __DIR__.'/vendor/closure-compiler/compiler.jar',
3939
'output_path' => '/',
4040
'optimization' => 'SIMPLE_OPTIMIZATIONS',
4141
'charset' => 'utf-8'

0 commit comments

Comments
 (0)