cakephp/cakephp — pull request #1590 by Phally (2013-09-01 04:24:35+00:00)
Title: Avoid notices when loading locale file

Reference: #1220

Cherry picked @Ceeram's commit for the test case.