cakephp/cakephp — pull request #1028 by dereuromark (2012-12-15 02:37:24+00:00)
Title: pluginSplit for a more meaningful exception message

If you got an element like

element('PluginName.subfolder/piece'); ?>

currently the notice would be

Notice (1024): Element Not Found: Elements\PluginName.subfolder/piece.ctp [CORE\Cake\View\View.php, line 418]

whereas this would make much more sense:

Notice (1024): Element Not Found: PluginName.Elements\subfolder\piece.ctp [CORE\Cake\View\View.php, line 418]

fixing both the PluginName (move to the front) and the different DS