changeset 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 2ea1b19e21f3
children c5bc194d7255
files includes/class.dataaccess.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;