diff options
author | Andreas Gohr <andi@splitbrain.org> | 2011-11-13 12:18:09 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2011-11-13 12:18:09 +0100 |
commit | 2adaf2b8a608f4a1ac3fe0dba94ff28d7a0d48e5 (patch) | |
tree | 0672eeed0d0e8911d4f7a3f6bbe6e4bfd9589bfc /inc/common.php | |
parent | 21bdc90cffbfd11da3453fb3622c90613ff8a0c4 (diff) | |
download | rpg-2adaf2b8a608f4a1ac3fe0dba94ff28d7a0d48e5.tar.gz rpg-2adaf2b8a608f4a1ac3fe0dba94ff28d7a0d48e5.tar.bz2 |
allow non-txt extensions when accessing locales
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/common.php b/inc/common.php index b624c334c..1d8061ab0 100644 --- a/inc/common.php +++ b/inc/common.php @@ -789,8 +789,8 @@ function formText($text){ * * @author Andreas Gohr <andi@splitbrain.org> */ -function rawLocale($id){ - return io_readFile(localeFN($id)); +function rawLocale($id,$ext='txt'){ + return io_readFile(localeFN($id,$ext)); } /** |