Use constants to reduce the potential for security issues through these
values being changed at run-time.
This commit is contained in:
@@ -1,39 +1,48 @@
|
|||||||
<?php
|
<?php
|
||||||
/*************************/
|
/*************************/
|
||||||
/* config file for appDB */
|
/* config file for AppDB */
|
||||||
/*************************/
|
/*************************/
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* global params
|
* global params
|
||||||
*/
|
*/
|
||||||
$apidb_debug = 0; //turns debugging on/off
|
define("APPDB_DEBUG","0"); //turns debugging on/off
|
||||||
|
define("APPDB_THUMBNAIL_WIDTH","100"); // width of the screenshot's thumbnails
|
||||||
/*
|
define("APPDB_THUMBNAIL_WIDTH","75"); // height of the screenshot's thumbnails
|
||||||
* api database info
|
define("APPDB_ROOT", "http://appdb.winehq.org/"); // path to AppDB
|
||||||
*/
|
define("STANDARD_NOTIFY_FOOTER","------- You are receiving this mail because: -------\n".
|
||||||
$apidb_dbuser = "wineowner";
|
"You are an maintainer of this application or an AppDB administrator\n".
|
||||||
$apidb_dbpass = "lemonade";
|
"to change your preferences go to: ".APPDB_ROOT."preferences.php\n");
|
||||||
$apidb_dbhost = "localhost";
|
define("APPDB_OWNER","WineHQ"); // with what product/company is this AppDB related ?
|
||||||
$apidb_db = "apidb";
|
define("APPDB_OWNER_URL","http://www.winehq.org/"); // website of this product/company
|
||||||
|
define("BUGZILLA_ROOT","http://bugs.winehq.org/"); // path to bugzilla
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* user database info
|
* apps database info
|
||||||
*/
|
*/
|
||||||
$userdb_dbuser = "wineowner";
|
define("APPS_DBUSER","wineowner");
|
||||||
$userdb_dbpass = "lemonade";
|
define("APPS_DBPASS","lemonade");
|
||||||
$userdb_dbhost = "localhost";
|
define("APPS_DBHOST","localhost");
|
||||||
$userdb_db = "apidb";
|
define("APPS_DB","apidb");
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Bugzilla database info
|
* users database info
|
||||||
*/
|
*/
|
||||||
$bugzilla_dbuser = "root";
|
define("USERS_DBUSER","wineowner");
|
||||||
$bugzilla_dbpass = "";
|
define("USERS_DBPASS","lemonade");
|
||||||
$bugzilla_dbhost = "localhost";
|
define("USERS_DBHOST","localhost");
|
||||||
$bugzilla_db = "bugs";
|
define("USERS_DB","apidb");
|
||||||
/* $bugzilla_db_port = 3306; is this needed? I dont think so.*/
|
|
||||||
$bugzilla_product_id = 1;
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* bugzilla database info
|
||||||
|
*/
|
||||||
|
define("BUGZILLA_DBUSER","root");
|
||||||
|
define("BUGZILLA_DBPASS","");
|
||||||
|
define("BUGZILLA_DBHOST","localhost");
|
||||||
|
define("BUGZILLA_DB","bugs");
|
||||||
|
define("BUGZILLA_PRODUCT_ID","1");
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user