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

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

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

revision 1.24 by eldy, Tue Oct 18 14:03:06 2005 UTC revision 1.25 by eldy, Sat Oct 22 13:52:35 2005 UTC
# Line 24  Line 24 
24    
25  /**  /**
26          \file       htdocs/install/etape5.php          \file       htdocs/install/etape5.php
27          \brief      Page de fin d'installation          \brief      Page de fin d'installation ou de migration
28          \version    $Revision$          \version    $Revision$
29  */  */
30    
# Line 40  $success=0; Line 40  $success=0;
40  if (file_exists($conffile))  if (file_exists($conffile))
41  {  {
42      include($conffile);      include($conffile);
43        if (! isset($dolibarr_main_db_prefix) || ! $dolibarr_main_db_prefix) $dolibarr_main_db_prefix='llx_';
44        define('MAIN_DB_PREFIX',$dolibarr_main_db_prefix);
45  }  }
46    
47    
# Line 96  if ($_POST["action"] == "set" || $_POST[ Line 98  if ($_POST["action"] == "set" || $_POST[
98      $db = new DoliDb($conf->db->type,$conf->db->host,$conf->db->user,$conf->db->pass,$conf->db->name);      $db = new DoliDb($conf->db->type,$conf->db->host,$conf->db->user,$conf->db->pass,$conf->db->name);
99      $ok = 0;      $ok = 0;
100    
101        // Active module user
102        $modName='modUser';
103        $file = $modName . ".class.php";
104        include_once("../includes/modules/$file");
105        $objMod = new $modName($db);
106        $objMod->init();
107        
108      // If first install      // If first install
109      if ($_POST["action"] == "set")      if ($_POST["action"] == "set")
110      {      {

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

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