From 29e4cad99e3e0ab2cdefbeacdf03d22e08551ffc Mon Sep 17 00:00:00 2001 From: Majna Date: Thu, 28 Jul 2011 18:57:10 +0200 Subject: [PATCH] Fix for lowercased schema folder when baking plugin skel --- lib/Cake/Console/Command/Task/PluginTask.php | 2 +- lib/Cake/Test/Case/Console/Command/Task/PluginTaskTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Console/Command/Task/PluginTask.php b/lib/Cake/Console/Command/Task/PluginTask.php index 70ba8a7aa..6787150cd 100644 --- a/lib/Cake/Console/Command/Task/PluginTask.php +++ b/lib/Cake/Console/Command/Task/PluginTask.php @@ -98,7 +98,7 @@ class PluginTask extends Shell { if (strtolower($looksGood) == 'y') { $Folder = new Folder($this->path . $plugin); $directories = array( - 'Config' . DS . 'schema', + 'Config' . DS . 'Schema', 'Model' . DS . 'Behavior', 'Model' . DS . 'Datasource', 'Console' . DS . 'Command' . DS . 'Task', diff --git a/lib/Cake/Test/Case/Console/Command/Task/PluginTaskTest.php b/lib/Cake/Test/Case/Console/Command/Task/PluginTaskTest.php index 9fc29c84d..72e189f6d 100644 --- a/lib/Cake/Test/Case/Console/Command/Task/PluginTaskTest.php +++ b/lib/Cake/Test/Case/Console/Command/Task/PluginTaskTest.php @@ -86,7 +86,7 @@ class PluginTaskTest extends CakeTestCase { $this->assertTrue(is_dir($path), 'No plugin dir %s'); $directories = array( - 'Config' . DS . 'schema', + 'Config' . DS . 'Schema', 'Model' . DS . 'Behavior', 'Model' . DS . 'Datasource', 'Console' . DS . 'Command' . DS . 'Task',