CodeIgniter Forums

Full Version: CI ODBC Connection issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi got stuck in  line no 82..  is there odbc driver available in ci4

Code:
75             throw new \InvalidArgumentException('You have not selected a database type to connect to.');
76         }
77
78         $className = strpos($params['DBDriver'], '\\') === false
79             ? '\CodeIgniter\Database\\'.$params['DBDriver'].'\\Connection'
80             : $params['DBDriver'].'\\Connection';
81
82         $class = new $className($params);
83
84         // Store the connection
85         $this->connections[$alias] = $class;
86
87         return $this->connections[$alias];
88     }
89
Not currently. If you're brave and want to port it over for us, that would be great. Smile