mordecaikipkorir / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Undefined var / alias in File.php #215

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Minify version: SVN trunk 2010/12/29

Minify_Cache_File::store has a reference to $file in the "write control" 
section, but that variable is never initialized.

It seems like it should be defined as an alias "$file = $this->_path . '/' . 
$id;" and should be used in several places in the function for is_file, unlink 
and file_put_contents instead of repeating the path construct.

Original issue reported on code.google.com by darp...@gmail.com on 30 Dec 2010 at 12:48

GoogleCodeExporter commented 9 years ago
Trunk is a mess and will probably be replaced by the 2.2 branch at some point. 
Current work is being done on 2.1.4

Original comment by mrclay....@gmail.com on 30 Dec 2010 at 4:06