From 3a8ada3ba197ebbe287b5b43fb2a8f6586b97c6b Mon Sep 17 00:00:00 2001 From: llaffont <llaffont@afi-sa.fr> Date: Thu, 4 Dec 2014 14:33:31 +0100 Subject: [PATCH] cdev #17990 adapt typo import to Class_Systeme_Sql changes --- library/Class/Import/Typo3.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/library/Class/Import/Typo3.php b/library/Class/Import/Typo3.php index 05491930863..c46f11dbfd5 100644 --- a/library/Class/Import/Typo3.php +++ b/library/Class/Import/Typo3.php @@ -749,7 +749,15 @@ class Typo3DB { public function __construct() { - $this->t3db = new Class_Systeme_Sql('localhost', 'root', 'root', 'miop_typo3'); + $this->t3db = new Class_Systeme_Sql('','','',''); + $this + ->t3db + ->setAdapter(Zend_Db::factory( + 'mysqli', + ['host' => 'localhost', + 'username' => 'root', + 'password' => 'root', + 'dbname' => 'miop_typo3'])); } -- GitLab