mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
Formatting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5198 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
459cb5c45a
commit
4dc7d4ab8c
1 changed files with 21 additions and 20 deletions
|
@ -368,6 +368,7 @@ class ControllerTask extends Shell {
|
||||||
$out = "<?php\n";
|
$out = "<?php\n";
|
||||||
$out .= "class $controllerName" . "Controller extends AppController {\n\n";
|
$out .= "class $controllerName" . "Controller extends AppController {\n\n";
|
||||||
$out .= "\tvar \$name = '$controllerName';\n";
|
$out .= "\tvar \$name = '$controllerName';\n";
|
||||||
|
|
||||||
if(low($wannaUseScaffold) == 'y' || low($wannaUseScaffold) == 'yes') {
|
if(low($wannaUseScaffold) == 'y' || low($wannaUseScaffold) == 'yes') {
|
||||||
$out .= "\tvar \$scaffold;\n";
|
$out .= "\tvar \$scaffold;\n";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue