mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-30 13:43:00 +00:00
Merging changes on bake.php from 1.1.x.x branch [3138]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3139 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
c477ab64c6
commit
6cca0d00ea
1 changed files with 2 additions and 2 deletions
|
@ -855,7 +855,7 @@ class Bake {
|
||||||
$componentsListTrimmed = str_replace(' ', '', $componentsList);
|
$componentsListTrimmed = str_replace(' ', '', $componentsList);
|
||||||
$components = explode(',', $componentsListTrimmed);
|
$components = explode(',', $componentsListTrimmed);
|
||||||
}
|
}
|
||||||
$wannaDoScaffolding = $this->getInput("Would to include some basic class methods (index(), add(), view(), edit())?", array('y','n'), 'n');
|
$wannaDoScaffolding = $this->getInput("Would you like to include some basic class methods (index(), add(), view(), edit())?", array('y','n'), 'n');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strtolower($wannaDoScaffolding) == 'y' || strtolower($wannaDoScaffolding) == 'yes') {
|
if (strtolower($wannaDoScaffolding) == 'y' || strtolower($wannaDoScaffolding) == 'yes') {
|
||||||
|
@ -2034,7 +2034,7 @@ class Bake {
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$exceptions=array('.','..');
|
$exceptions=array('.','..','.svn');
|
||||||
$handle = opendir($fromDir);
|
$handle = opendir($fromDir);
|
||||||
|
|
||||||
while (false!==($item = readdir($handle))) {
|
while (false!==($item = readdir($handle))) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue