mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
"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:
parent
abdf753c9e
commit
028c5ab75d
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue