From 63776f96c2f8b5eaab5fde9b3cdd9b05cdd4795f Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 08 Feb 2011 10:43:11 -0500
Subject: [PATCH] - Added new Icon to theme. - Fixed a bug in language file loading routine.
---
interface/lib/app.inc.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php
index a70b25c..031e831 100644
--- a/interface/lib/app.inc.php
+++ b/interface/lib/app.inc.php
@@ -183,7 +183,7 @@
$filename = ISPC_ROOT_PATH.'/'.$filename;
if(substr($filename,-4) != '.lng') $this->error('Language file has wrong extension.');
if(file_exists($filename)) {
- @include_once($filename);
+ @include($filename);
if(is_array($wb)) {
if(is_array($this->_wb)) {
$this->_wb = array_merge($this->_wb,$wb);
--
Gitblit v1.9.1