From c161eacd76162a025655e097e2becbc07a06087c Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Tue, 23 Aug 2011 13:34:11 -0400 Subject: [PATCH] - Fixed a bug in lng() function. - Added a function to the remote api to get all virtual machines of a client. --- interface/lib/app.inc.php | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php index fbe5bd0..0690d5d 100644 --- a/interface/lib/app.inc.php +++ b/interface/lib/app.inc.php @@ -162,6 +162,7 @@ /** Translates strings in current language */ public function lng($text) { + global $conf; if($this->_language_inc != 1) { $language = (isset($_SESSION['s']['language']))?$_SESSION['s']['language']:$conf['language']; //* loading global Wordbook -- Gitblit v1.9.1