Welcome Guest, Not a member yet? Register   Sign In
globally disabling protect identifiers
#11

[eluser]pocketmax[/eluser]
I'm using oci8 but that shouldn't matter. Having cross db support is a fundamental requirement for all frameworks. My foo bar db query example should work on all dbs regardless of what type of db it is.

$db['default']['hostname'] = "//192.168.1.4/DEV0";
$db['default']['username'] = "mydev";
$db['default']['password'] = "not going to post this on a forum";
$db['default']['database'] = "";
$db['default']['dbdriver'] = "oci8";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = FALSE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
#12

[eluser]Reneesh T K[/eluser]
I faced a problem with protect identifiers not working in Active record class. I find out the reason of it and fixed it by changing adding two lines of code in a select function in system/database/DB_active_rec.php page.

I had explained it in my blog : http://myphplibrary.blogspot.in/2012/09/...-with.html




Theme © iAndrew 2016 - Forum software by © MyBB