Merge branch '2.1' of github.com:cakephp/cakephp into 2.1

This commit is contained in:
Jose Lorenzo Rodriguez 2011-11-28 22:30:36 -04:30
commit 76e334ca38
16 changed files with 477 additions and 17 deletions

View file

@ -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;
}