PHP-YUI-Compressor
PHP-YUI-Compressor copied to clipboard
PHP Class to interface with the YUI Compressor
hello, i add some codes in my android studio so its shows error class,interface and enum so how to solve this problem.
Also removed the newline implosion. The whole idea is to compress the input, not make it larger again.
When using addFile and addString together, the strings are always added first in the resulting file.
Running PHP 5.4.5 YUICompressor::$JAR_PATH @ line 21 YUICompressor::$TEMP_FILES_DIR @ line 22 YUICompressor::$JAR_PATH @ line 59 YUICompressor::$TEMP_FILES_DIR @ line 65
Just a suggestion... change the following to use PHP's tempnam() function to avoid all chance of collision ``` $input_hash = sha1($this->string); $file = $this->TEMP_FILES_DIR . '/' . $input_hash . '.txt';...