diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 89872c1e79..391c4ad066 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-08-04 Miguel de Dios + + * include/config_process.php: added global config var for the + quote strings (for example, PostgreSQL). + 2014-08-03 Junichi Satoh * include/functions_ui.php: Fixed that the fast forward and the going diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index d446ba21a8..4e69340d84 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -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;