diff options
author | Yorhel <git@yorhel.nl> | 2010-01-24 15:04:02 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-01-24 15:07:00 +0100 |
commit | d7815efc3a99aecc61c5ac1d9833de0f448b697f (patch) | |
tree | 50e8082f67f360eff12c434723784d9069df4109 /lib/SkinFile.pm | |
parent | b04c46baec8aef93d21898ef7f52b9d6d2442ce3 (diff) |
Automatically generate the skin credits on d7
Added a userid field in the skin config files, from which the credits
are loaded. Now I don't have to constantly update d7 for every language
when something changes in the skin files.
Diffstat (limited to 'lib/SkinFile.pm')
-rw-r--r-- | lib/SkinFile.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/SkinFile.pm b/lib/SkinFile.pm index b8d0c4fb..78608f89 100644 --- a/lib/SkinFile.pm +++ b/lib/SkinFile.pm @@ -26,6 +26,7 @@ sub open { open my $F, '<:utf8', "$self->{root}/$dir/conf" or die $!; flock $F, LOCK_SH or die $!; seek $F, 0, SEEK_SET or die $!; + local $_; while(<$F>) { chomp; s/\r//g; |