2014-08-04 Miguel de Dios <miguel.dedios@artica.es>

* include/config_process.php: added global config var for the
	quote strings (for example, PostgreSQL).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-08-04 11:38:00 +00:00
parent 3156501716
commit f503c79a35
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-08-04 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: added global config var for the
quote strings (for example, PostgreSQL).
2014-08-03 Junichi Satoh <junichi@rworks.jp>
* include/functions_ui.php: Fixed that the fast forward and the going

View File

@ -254,6 +254,9 @@ $config["homeurl"] = ui_get_full_url(false);
//======================================================================
switch ($config["dbtype"]) {
case "mysql":
if (!isset($config['quote_string'])) {
$config['db_quote_string'] = "\"";
}
break;
case "postgresql":
if (!isset($config['dbversion'])) {
@ -262,6 +265,9 @@ switch ($config["dbtype"]) {
$config['dbversion'] = $result_chunks[1];
}
if (!isset($config['quote_string'])) {
$config['db_quote_string'] = "'";
}
break;
case "oracle":
break;