diff --git a/lib/Cake/Model/CakeSchema.php b/lib/Cake/Model/CakeSchema.php index c880f2115..c392f5a36 100644 --- a/lib/Cake/Model/CakeSchema.php +++ b/lib/Cake/Model/CakeSchema.php @@ -86,7 +86,7 @@ class CakeSchema extends Object { } if (strtolower($this->name) === 'cake') { - $this->name = Inflector::camelize(Inflector::slug(Configure::read('App.dir'))); + $this->name = 'App'; } if (empty($options['path'])) {