fix and update for cake 2.3
Merge pull request #1 from zoghal/master

fix & update for cakephp 2.3