From aec1333faab59d5de487ecee0da059449e9c21fd Mon Sep 17 00:00:00 2001 From: horfic <horfic@ispconfig3> Date: Mon, 10 Jan 2011 08:29:51 -0500 Subject: [PATCH] *) Changed remote function sites_web_domain_add to allow readonly website to be created *) Forgot to add the entries for mailman in the main.cf of postfix --- interface/web/js/scrigo.js.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php index cd72445..4316af7 100644 --- a/interface/web/js/scrigo.js.php +++ b/interface/web/js/scrigo.js.php @@ -1,7 +1,8 @@ <?php session_start(); include('../../lib/config.inc.php'); - include_once(ISPC_ROOT_PATH.'/web/strengthmeter/lib/lang/'.$_SESSION['s']['language'].'_strengthmeter.lng'); + $lang = (isset($_SESSION['s']['language']) && $_SESSION['s']['language'] != '')?$_SESSION['s']['language']:'en'; + include_once(ISPC_ROOT_PATH.'/web/strengthmeter/lib/lang/'.$lang.'_strengthmeter.lng'); ?> redirect = ''; -- Gitblit v1.9.1