mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Don't add closing PHP tags in i18nTextCollector->writeMasterStringFile() (thanks Fred Condo)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115097 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
6dc1448cc4
commit
e8c8c9472a
@ -400,7 +400,7 @@ class i18nTextCollector extends Object {
|
||||
user_error('i18nTextCollector->writeMasterStringFile(): Invalid PHP language file. Error: ' . $e->toString(), E_USER_ERROR);
|
||||
}
|
||||
|
||||
fwrite($fh, "<"."?php{$eol}{$eol}global \$lang;{$eol}{$eol}" . $php . "{$eol}?".">");
|
||||
fwrite($fh, "<"."?php{$eol}{$eol}global \$lang;{$eol}{$eol}" . $php . "{$eol}");
|
||||
fclose($fh);
|
||||
|
||||
//Debug::message("Created file: $langFolder/" . $this->defaultLocale . ".php", false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user