<?php
/***************************************************************************
- * Copyright (C) 2003-2006 Polytechnique.org *
+ * Copyright (C) 2003-2007 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
var $dbhost = 'localhost';
var $dbuser = 'x4dat';
var $dbpwd = 'x4dat';
+ var $dbcharset = 'utf8';
/** paths */
var $baseurl;
$this->spoolroot = dirname(dirname(__FILE__));
$this->read_config();
-
- $this->dbconnect();
$this->setlocale();
}
$this->read_ini_file($this->spoolroot.'/configs/platal.conf');
}
- function dbconnect()
- {
- @mysql_connect($this->dbhost, $this->dbuser, $this->dbpwd);
- @mysql_select_db($this->dbdb);
- }
-
function setlocale()
{
setlocale(LC_MESSAGES, $this->locale);
}
}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>