mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
Issue 1778: DB Classes: Add prepared statements support - Added new config option in db.config.php to decide if prepared statments should be used or not. Default is Yes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10474 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
77c77bee34
commit
563774c2d2
4 changed files with 13 additions and 1 deletions
|
|
@ -239,7 +239,12 @@ class Context {
|
|||
$oInstallController = &getController('install');
|
||||
$oInstallController->makeConfigFile();
|
||||
}
|
||||
|
||||
|
||||
if(!$db_info->use_prepared_statements)
|
||||
{
|
||||
$db_info->use_prepared_statements = 'Y';
|
||||
}
|
||||
|
||||
if(!$db_info->time_zone) $db_info->time_zone = date('O');
|
||||
$GLOBALS['_time_zone'] = $db_info->time_zone;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue