setup appdb tables. Add app_category.sql and session_list.sql from Jeremy, without these the database wasn't handling logins correctly and had no categories. README now has some instructions on how to setup a local appdb. Modified config.php.sample to point to apidb to match what is in the sql in appdb/tables. Sql for table creation to use "if exists" to prevent data base errors on trying to drop tables that don't exist.
28 lines
396 B
Plaintext
28 lines
396 B
Plaintext
<?
|
|
/* config file for apidb */
|
|
|
|
|
|
/*
|
|
* global params
|
|
*/
|
|
$apidb_debug = 0; //turns debugging on/off
|
|
|
|
/*
|
|
* api database info
|
|
*/
|
|
$apidb_dbuser = "wineowner";
|
|
$apidb_dbpass = "lemonade";
|
|
$apidb_dbhost = "localhost";
|
|
$apidb_db = "apidb";
|
|
|
|
|
|
/*
|
|
* user database info
|
|
*/
|
|
$userdb_dbuser = "wineowner";
|
|
$userdb_dbpass = "lemonade";
|
|
$userdb_dbhost = "localhost";
|
|
$userdb_db = "apidb";
|
|
|
|
?>
|