/[dolibarr]/dolibarr/htdocs/install/etape4.php
ViewVC logotype

Diff of /dolibarr/htdocs/install/etape4.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by eldy, Tue Oct 18 14:03:06 2005 UTC revision 1.17 by eldy, Sun Oct 30 01:07:00 2005 UTC
# Line 20  Line 20 
20   *   *
21   * $Id$   * $Id$
22   * $Source$   * $Source$
  *  
23   */   */
24    
25  /**  /**
# Line 33  Line 32 
32  include_once("./inc.php");  include_once("./inc.php");
33    
34  $setuplang=isset($_POST["selectlang"])?$_POST["selectlang"]:(isset($_GET["selectlang"])?$_GET["selectlang"]:$langcode);  $setuplang=isset($_POST["selectlang"])?$_POST["selectlang"]:(isset($_GET["selectlang"])?$_GET["selectlang"]:$langcode);
35  $langs->defaultlang=$setuplang;  $langs->setDefaultLang($setuplang);
36    
37  $langs->load("admin");  $langs->load("admin");
38  $langs->load("install");  $langs->load("install");
39    
40    
41  pHeader($langs->trans("AdminAccountCreation"),"etape5");  pHeader($langs->trans("AdminAccountCreation"),"etape5");
42    
43  if (file_exists($conffile))  if (file_exists($conffile))
44  {  {
45    include_once($conffile);      include_once($conffile);
46  }  }
47    
48  if($dolibarr_main_db_type == "mysql")  if($dolibarr_main_db_type == "mysql")
# Line 101  if ($db->ok == 1) Line 102  if ($db->ok == 1)
102    
103  $db->close();  $db->close();
104    
105  pFooter($err);  pFooter($err,$setuplang);
106    
107  ?>  ?>

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26