Subversion Repositories Applications.framework

Compare Revisions

Ignore whitespace Rev 420 → Rev 419

/trunk/framework/Bdd.php
94,7 → 94,6
$this->bdd_nom = Config::get('bdd_nom');
$this->utilisateur = Config::get('bdd_utilisateur');
$this->pass = Config::get('bdd_mot_de_passe');
$this->encodage = Config::get('bdd_encodage');
 
if ($this->type == 'sqlite' || $this->type == 'sqlite2') {
398,7 → 397,7
public function recupererIdDernierAjout($parametres = null) {
$this->connecter();
 
$retour = null;
$retour = $chaine;
switch ($this->abstraction) {
case self::ABSTRACTION_PDO :
$retour = $this->connexion->lastInsertId($parametres);