jrbasso/MeioUpload — pull request #91 by jdbartlett (2011-10-26 04:43:14+00:00)
Title: CakePHP 2.0!

Tweaks for MeioUpload to work within CakePHP 2.0!

For what it's worth, I also updated the test files to meet Cake2 standards, though the only test is a #todo which fails for reasons unrelated to my code changes.

* Renamed all files to fit CakePHP 2.0 naming conventions.
* Modified use of __d to suit Cake's new translation style.
* Thumbnail target must now be absolute to avoid conflict with phpThumb.
* Converted test files to use CakePHP 2.0 standards.

Possibly the only controversial change is line 847, which is necessary because phpThumb's ResolveFilenameToAbsolute doesn't take kindly to the `$_SERVER['PHP_SELF']` value Cake2 gives it.