From 6cca0d00ea451996052c38db4328d280bf68c4ee Mon Sep 17 00:00:00 2001 From: dho Date: Mon, 19 Jun 2006 15:00:17 +0000 Subject: [PATCH] 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 --- cake/scripts/bake.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/scripts/bake.php b/cake/scripts/bake.php index f4db53eac..641630861 100644 --- a/cake/scripts/bake.php +++ b/cake/scripts/bake.php @@ -855,7 +855,7 @@ class Bake { $componentsListTrimmed = str_replace(' ', '', $componentsList); $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') { @@ -2034,7 +2034,7 @@ class Bake { } return false; } - $exceptions=array('.','..'); + $exceptions=array('.','..','.svn'); $handle = opendir($fromDir); while (false!==($item = readdir($handle))) {