From 757f5426c78c26540823af24f84aa036f9e559d0 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 11 Oct 2007 15:33:32 +0000 Subject: opened migration path for texts.php --- it_text.class | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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['_']; -- cgit v1.2.3