From ed30c60150ffda0301eb1f8d30c93cac94de41df Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 25 Jul 2011 10:38:22 -0400
Subject: [PATCH] Fixed some warnings in the installer.
---
interface/web/domain/domain_del.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/interface/web/domain/domain_del.php b/interface/web/domain/domain_del.php
index f47f2f9..db629f7 100644
--- a/interface/web/domain/domain_del.php
+++ b/interface/web/domain/domain_del.php
@@ -48,15 +48,15 @@
$app->uses('tpl,tform,tform_actions');
$app->load('tform_actions');
-//* load language file
-$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'.lng';
-include($lng_file);
-
class page_action extends tform_actions {
function onBeforeDelete() {
global $app; $conf;
+ //* load language file
+ $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'.lng';
+ include($lng_file);
+
/*
* We can only delete domains if they are NOT in use
*/
--
Gitblit v1.9.1