diff options
author | Urban Müller | 2007-10-11 15:33:32 +0000 |
---|---|---|
committer | Urban Müller | 2007-10-11 15:33:32 +0000 |
commit | 757f5426c78c26540823af24f84aa036f9e559d0 (patch) | |
tree | 145cfd99f130a8811e5884600759e46d482f8a7c /it_text.class | |
parent | 3f122785bcbad2d685a2e9042c3f9efaffe59f9a (diff) | |
download | itools-757f5426c78c26540823af24f84aa036f9e559d0.tar.gz itools-757f5426c78c26540823af24f84aa036f9e559d0.tar.bz2 itools-757f5426c78c26540823af24f84aa036f9e559d0.zip |
opened migration path for texts.php
Diffstat (limited to 'it_text.class')
-rw-r--r-- | it_text.class | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/it_text.class b/it_text.class index 1b92bf7..b03c4a6 100644 --- a/it_text.class +++ b/it_text.class @@ -41,7 +41,8 @@ function it_text($p = null) # Read $this->statictext from php file if it's not defined yet if (!$this->statictext) - @include($this->p['phpfile']); + if (is_array($ret = @include($this->p['phpfile']))) + $this->statictext = $ret; # Get array of supported languages and their names $this->languages_available = (array)$this->statictext['_']; |