mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 13:02:40 +00:00
Merge branch '2.1' of github.com:cakephp/cakephp into 2.1
This commit is contained in:
commit
76e334ca38
16 changed files with 477 additions and 17 deletions
|
@ -379,7 +379,7 @@ class CakeSchema extends Object {
|
|||
$out .= "}\n";
|
||||
|
||||
$file = new SplFileObject($path . DS . $file, 'w+');
|
||||
$content = "<?php \n/* {$name} schema generated on: " . date('Y-m-d H:i:s') . " : ". time() . "*/\n{$out}?>";
|
||||
$content = "<?php\n{$out}";
|
||||
if ($file->fwrite($content)) {
|
||||
return $content;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue