mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Removing ?> from AppModel and AppController plugin templates.
This commit is contained in:
parent
648a1f7dec
commit
f65d763551
1 changed files with 0 additions and 2 deletions
|
@ -134,7 +134,6 @@ class PluginTask extends Shell {
|
|||
$out = "<?php\n\n";
|
||||
$out .= "class {$plugin}AppController extends AppController {\n\n";
|
||||
$out .= "}\n\n";
|
||||
$out .= "?>";
|
||||
$this->createFile($this->path . $plugin. DS . 'Controller' . DS . $controllerFileName, $out);
|
||||
|
||||
$modelFileName = $plugin . 'AppModel.php';
|
||||
|
@ -142,7 +141,6 @@ class PluginTask extends Shell {
|
|||
$out = "<?php\n\n";
|
||||
$out .= "class {$plugin}AppModel extends AppModel {\n\n";
|
||||
$out .= "}\n\n";
|
||||
$out .= "?>";
|
||||
$this->createFile($this->path . $plugin . DS . 'Model' . DS . $modelFileName, $out);
|
||||
|
||||
$this->hr();
|
||||
|
|
Loading…
Add table
Reference in a new issue