Merge pull request #11 from fusic/cake24

Support PHP5.4 + CakePHP2.4.x (patch from kouchi@BSSZ)