/[dolibarr]/dolibarr/htdocs/main.inc.php
ViewVC logotype

Diff of /dolibarr/htdocs/main.inc.php

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

revision 1.153 by eldy, Mon Sep 26 23:07:07 2005 UTC revision 1.154 by eldy, Thu Sep 29 19:30:59 2005 UTC
# Line 31  Line 31 
31    
32  require("master.inc.php");  require("master.inc.php");
33    
34    
35  // Verification du login.  // Verification du login.
36  // Cette verification est faite pour chaque accès. Après l'authentification,  // Cette verification est faite pour chaque accès. Après l'authentification,
37  // l'objet $user est initialisée. Notament $user->id, $user->login et $user->nom, $user->prenom  // l'objet $user est initialisée. Notament $user->id, $user->login et $user->nom, $user->prenom
# Line 177  if (defined("MAIN_NOT_INSTALLED")) Line 178  if (defined("MAIN_NOT_INSTALLED"))
178    Header("Location: ".DOL_URL_ROOT."/install/index.php");    Header("Location: ".DOL_URL_ROOT."/install/index.php");
179  }  }
180    
181    // Constantes utilisées pour définir le nombre de lignes des textarea
182    if (! eregi("firefox",$_SERVER["HTTP_USER_AGENT"]))
183    {
184        define('ROWS_1',1);
185        define('ROWS_2',2);
186        define('ROWS_3',3);
187    }
188    else
189    {
190        define('ROWS_1',0);
191        define('ROWS_2',1);
192        define('ROWS_3',2);
193    }
194    
195    
196    
197  /**  /**

Legend:
Removed from v.1.153  
changed lines
  Added in v.1.154

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