tbrehm
2009-05-04 723dd04bc0b3d36b704ee62643dae1818b09a613
interface/lib/app.inc.php
@@ -44,6 +44,11 @@
   public function __construct()
    {
      global $conf;
      if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS']) || isset($_REQUEST['s']) || isset($_REQUEST['s_old']) || isset($_REQUEST['conf'])) {
         die('Internal Error: var override attempt detected');
      }
      $this->_conf = $conf;
      if($this->_conf['start_db'] == true) {
         $this->load('db_'.$this->_conf['db_type']);
@@ -154,7 +159,7 @@
            if(!file_exists($lng_file)) $lng_file = ISPC_ROOT_PATH.'/web/'.$_SESSION['s']['module']['name'].'/lib/lang/en.lng';
            @include_once($lng_file);
         }
         $this->_wb = $wb;
         if(isset($wb)) $this->_wb = $wb;
         $this->_language_inc = 1;
      }      
      if(!empty($this->_wb[$text])) {