mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #159 from majna/2.0-plugin-task
Fix for lowercased schema folder when baking plugin skel.
This commit is contained in:
commit
dbcdbbb64f
2 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ class PluginTask extends Shell {
|
||||||
if (strtolower($looksGood) == 'y') {
|
if (strtolower($looksGood) == 'y') {
|
||||||
$Folder = new Folder($this->path . $plugin);
|
$Folder = new Folder($this->path . $plugin);
|
||||||
$directories = array(
|
$directories = array(
|
||||||
'Config' . DS . 'schema',
|
'Config' . DS . 'Schema',
|
||||||
'Model' . DS . 'Behavior',
|
'Model' . DS . 'Behavior',
|
||||||
'Model' . DS . 'Datasource',
|
'Model' . DS . 'Datasource',
|
||||||
'Console' . DS . 'Command' . DS . 'Task',
|
'Console' . DS . 'Command' . DS . 'Task',
|
||||||
|
|
|
@ -86,7 +86,7 @@ class PluginTaskTest extends CakeTestCase {
|
||||||
$this->assertTrue(is_dir($path), 'No plugin dir %s');
|
$this->assertTrue(is_dir($path), 'No plugin dir %s');
|
||||||
|
|
||||||
$directories = array(
|
$directories = array(
|
||||||
'Config' . DS . 'schema',
|
'Config' . DS . 'Schema',
|
||||||
'Model' . DS . 'Behavior',
|
'Model' . DS . 'Behavior',
|
||||||
'Model' . DS . 'Datasource',
|
'Model' . DS . 'Datasource',
|
||||||
'Console' . DS . 'Command' . DS . 'Task',
|
'Console' . DS . 'Command' . DS . 'Task',
|
||||||
|
|
Loading…
Reference in a new issue