diff includes/class.dataaccess.php @ 7:e4e880f786d4

Utilisation d'une variable cohérente avec le config.php.dist
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Oct 2007 15:25:27 +0200
parents 629389204276
children ec0c926a78a6
line wrap: on
line diff
--- a/includes/class.dataaccess.php	Sat Oct 20 17:03:08 2007 +0200
+++ b/includes/class.dataaccess.php	Tue Oct 23 15:25:27 2007 +0200
@@ -11,7 +11,7 @@
   
   var $infos; // Cache contenant les informations sur le visiteur
   
-  function DataAccess($host=DB_HOST, $user=DB_USER, $pass=DB_PASS) {
+  function DataAccess($host=DB_HOST, $user=DB_USER, $pass=DB_PASSWORD) {
    $this->host=$host;
    $this->user=$user;
    $this->pass=$pass;