mennake/minify

Undefined var / alias in File.php

Closed this issue · 1 comments

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

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

  • Changed state: WontFix