Check in neutral config.inc file before we set it to update ignore
This commit is contained in:
@@ -145,11 +145,11 @@
|
|||||||
/************* DB ACCESS *****************/
|
/************* DB ACCESS *****************/
|
||||||
// please be VERY carefull only to change the right side
|
// please be VERY carefull only to change the right side
|
||||||
$DB_CONFIG = array(
|
$DB_CONFIG = array(
|
||||||
"test" => array (
|
"<db id>" => array (
|
||||||
"db_name" => "gullevek",
|
"db_name" => "<database>",
|
||||||
"db_user" => "gullevek",
|
"db_user" => "<user>",
|
||||||
"db_pass" => "gullevek",
|
"db_pass" => "<password>",
|
||||||
"db_host" => "db.tokyo.tequila.jp",
|
"db_host" => "<host>",
|
||||||
"db_port" => "5432",
|
"db_port" => "5432",
|
||||||
"db_schema" => "public",
|
"db_schema" => "public",
|
||||||
"db_type" => "pgsql",
|
"db_type" => "pgsql",
|
||||||
@@ -166,23 +166,19 @@
|
|||||||
|
|
||||||
// each host has a different db_host
|
// each host has a different db_host
|
||||||
// development host
|
// development host
|
||||||
$DB_HOST['soba'] = "test";
|
$DB_HOST['<host>'] = "<db id>";
|
||||||
$DB_HOST['soba.tokyo.tequila.jp'] = "test";
|
|
||||||
// target host (live)
|
// target host (live)
|
||||||
// $DB_TARGET_HOST['soba'] = "<DB ID>";
|
// $DB_TARGET_HOST['<host>'] = "<DB ID>";
|
||||||
// url redirect database
|
// url redirect database
|
||||||
// $DB_URL_REDIRECT_HOST['soba'] = "<DB ID>";
|
// $DB_URL_REDIRECT_HOST['<host>'] = "<DB ID>";
|
||||||
// location flagging
|
// location flagging
|
||||||
// test/dev/live
|
// test/dev/live
|
||||||
$LOCATION['soba'] = 'test';
|
$LOCATION['<host>'] = '<test|live|remote|etc>';
|
||||||
$LOCATION['soba.tokyo.tequila.jp'] = 'test';
|
|
||||||
// show DEBUG override
|
// show DEBUG override
|
||||||
// true/false
|
// true/false
|
||||||
$DEBUG_FLAG['soba'] = true;
|
$DEBUG_FLAG['<host>'] = true;
|
||||||
$DEBUG_FLAG['soba.tokyo.tequila.jp'] = true;
|
|
||||||
// set postgresql paths (schemas)
|
// set postgresql paths (schemas)
|
||||||
$DB_PATH['soba'] = PUBLIC_SCHEMA;
|
$DB_PATH['<host>'] = PUBLIC_SCHEMA;
|
||||||
$DB_PATH['soba.tokyo.tequila.jp'] = PUBLIC_SCHEMA;
|
|
||||||
|
|
||||||
// set the USE_DATABASE var, if there is nothing set, we assume TRUE
|
// set the USE_DATABASE var, if there is nothing set, we assume TRUE
|
||||||
$USE_DATABASE = defined('USE_DATABASE') ? USE_DATABASE : true;
|
$USE_DATABASE = defined('USE_DATABASE') ? USE_DATABASE : true;
|
||||||
|
|||||||
Reference in New Issue
Block a user