From 4cfff787c076d963ff56103ef416a1ea661a375d Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Thu, 15 Dec 2005 11:41:04 -0500
Subject: [PATCH] 

---
 interface/lib/app.inc.php |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php
index 9bf8af7..2c304a5 100644
--- a/interface/lib/app.inc.php
+++ b/interface/lib/app.inc.php
@@ -144,7 +144,7 @@
         if($this->_language_inc != 1) {
             // loading global and module Wordbook
             @include_once($conf["rootpath"]."/lib/lang/".$_SESSION["s"]["language"].".lng");
-            @include_once($conf["rootpath"]."/web/".$_SESSION["s"]["module"]["name"]."/lib/lang/".$_SESSION["s"]["language"].".lng"); 
+            @include_once($conf["rootpath"]."/web/".$_SESSION["s"]["module"]["name"]."/lib/lang/".$_SESSION["s"]["language"].".lng");
             $this->_wb = $wb;
             $this->_language_inc = 1;
         }
@@ -162,6 +162,11 @@
                 $this->tpl->setVar('theme',$_SESSION["s"]["theme"]);
                 $this->tpl->setVar('phpsessid',session_id());
                 $this->tpl->setVar('html_content_encoding',$conf["html_content_encoding"]);
+                if($conf["logo"] != '' && @is_file($conf["logo"])){
+                  $this->tpl->setVar('logo', '<img src="'.$conf["logo"].'" border="0" alt="">');
+                } else {
+                  $this->tpl->setVar('logo', '&nbsp;');
+                }
 
           }
 

--
Gitblit v1.9.1