fantu
2008-11-15 e1f106801baae6017635191f858daf6cc426b0a6
- Patch: if select language file to load not exist load the english language file
- Etch docs update
2 files modified
10 ■■■■■ changed files
INSTALL_DEBIAN_4.0.txt 6 ●●●●● patch | view | raw | blame | history
interface/lib/classes/listform_actions.inc.php 4 ●●●● patch | view | raw | blame | history
INSTALL_DEBIAN_4.0.txt
@@ -98,13 +98,11 @@
7.1) Install the latest released version 
7.2) Install directly from SVN
apt-get install php5-cli
7.1) Installation of beta 3 from tar.gz
  cd /tmp
  wget http://www.ispconfig.org/downloads/ISPConfig-3.0.0.6-beta.tar.gz
  tar xvfz ISPConfig-3.0.0.6-beta.tar.gz
  wget http://www.ispconfig.org/downloads/ISPConfig-3.0.0.7-beta.tar.gz
  tar xvfz ISPConfig-3.0.0.7-beta.tar.gz
  cd ispconfig3_install/install/
7.2) Installation from SVN
interface/lib/classes/listform_actions.inc.php
@@ -145,11 +145,15 @@
        
        //* Set global Language File
        $lng_file = ISPC_LIB_PATH.'/lang/'.$_SESSION['s']['language'].'.lng';
        if(!file_exists($lng_file))
        $lng_file = ISPC_LIB_PATH.'/lang/en.lng';
        include($lng_file);
        $app->tpl->setVar($wb);
        
        //* Set local Language File
        $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_'.$app->listform->listDef['name'].'_list.lng';
        if(!file_exists($lng_file))
        $lng_file = 'lib/lang/en_'.$app->listform->listDef['name'].'_list.lng';
        include($lng_file);
        $app->tpl->setVar($wb);
        $app->tpl->setVar('form_action', $app->listform->listDef['file']);