From bfc22ec9af89c240cbce16c1f8abb17547cd4b3d Mon Sep 17 00:00:00 2001
From: xaver <xaver@ispconfig3>
Date: Wed, 14 Sep 2011 15:08:09 -0400
Subject: [PATCH] fixed icon in middle vertical, for opera table th align right
---
interface/lib/app.inc.php | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php
index 32b5918..0690d5d 100644
--- a/interface/lib/app.inc.php
+++ b/interface/lib/app.inc.php
@@ -75,6 +75,11 @@
$this->uses('auth,plugin,functions');
}
+
+ public function __destruct() {
+ session_write_close();
+ if(isset($this->db)) $this->db->closeConn();
+ }
public function uses($classes) {
$cl = explode(',', $classes);
@@ -157,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