Skip to content

Crash where "pdodriver" not defined in config #16

Merged
merged 1 commit into from Apr 2, 2012

2 participants

@will-hart

Hi Toopay,
In the new config files pdodriver is not necessarily set, this gives an error when saving. See http://codeigniter.com/forums/viewthread/213348/P60/#992337

I've added a check for isset(static::$db->pdodriver) which fixes this issue for me.

Thanks - keep up the good work!

@toopay
Owner
toopay commented Apr 2, 2012

@mecharius Gas ORM repo is always syncing with EllisLab repo (since this repo use EllisLab repo as git submodule), and those line you've pointed is because the new database.php in CI version 3.0 looks like this.

@toopay toopay merged commit 7058a25 into toopay:master Apr 2, 2012
@will-hart

Yeah, I'm using 3.0 for a project so have the config file linked above. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.