"Fixes svn file property line"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6326 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2008-01-06 01:45:01 +00:00
parent abdf753c9e
commit 028c5ab75d

View file

@ -338,7 +338,8 @@ class CakeSchema extends Object {
$File =& new File($path . DS . $file, true);
$content = "<?php \n/* SVN FILE: \$Id$ */\n/*". $name ." schema generated on: " . date('Y-m-d H:m:s') . " : ". time() . "*/\n{$out}?>";
$header = '$Id' . ':';
$content = "<?php \n/* SVN FILE: $header$ */\n/* ". $name ." schema generated on: " . date('Y-m-d H:m:s') . " : ". time() . "*/\n{$out}?>";
$content = $File->prepare($content);
if ($File->write($content)) {
return $content;