We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81865bc commit 2444877Copy full SHA for 2444877
1 file changed
cake/console/libs/console.php
@@ -68,7 +68,7 @@ function initialize() {
68
App::import('Model', $this->models);
69
70
foreach ($this->models as $model) {
71
- $class = Inflector::camelize(r('.php', '', $model));
+ $class = Inflector::camelize(str_replace('.php', '', $model));
72
$this->models[$model] = $class;
73
$this->{$class} =& new $class();
74
}
0 commit comments