Subversion Repositories Applications.framework

Compare Revisions

Ignore whitespace Rev 419 → Rev 420

/trunk/framework/Bdd.php
94,6 → 94,7
$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') {
397,7 → 398,7
public function recupererIdDernierAjout($parametres = null) {
$this->connecter();
 
$retour = $chaine;
$retour = null;
switch ($this->abstraction) {
case self::ABSTRACTION_PDO :
$retour = $this->connexion->lastInsertId($parametres);