mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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:
parent
3156501716
commit
f503c79a35
@ -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>
|
2014-08-03 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
* include/functions_ui.php: Fixed that the fast forward and the going
|
* include/functions_ui.php: Fixed that the fast forward and the going
|
||||||
|
@ -254,6 +254,9 @@ $config["homeurl"] = ui_get_full_url(false);
|
|||||||
//======================================================================
|
//======================================================================
|
||||||
switch ($config["dbtype"]) {
|
switch ($config["dbtype"]) {
|
||||||
case "mysql":
|
case "mysql":
|
||||||
|
if (!isset($config['quote_string'])) {
|
||||||
|
$config['db_quote_string'] = "\"";
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "postgresql":
|
case "postgresql":
|
||||||
if (!isset($config['dbversion'])) {
|
if (!isset($config['dbversion'])) {
|
||||||
@ -262,6 +265,9 @@ switch ($config["dbtype"]) {
|
|||||||
|
|
||||||
$config['dbversion'] = $result_chunks[1];
|
$config['dbversion'] = $result_chunks[1];
|
||||||
}
|
}
|
||||||
|
if (!isset($config['quote_string'])) {
|
||||||
|
$config['db_quote_string'] = "'";
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "oracle":
|
case "oracle":
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user