pluginSplit for a more meaningful notice #1028

merged 1 commit into from Dec 15, 2012


None yet

2 participants

CakePHP member

If you got an element like

<?php echo $this->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

@markstory markstory merged commit c67c4d3 into cakephp:2.3 Dec 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment