appdb/ ./README include/config.php.sample
WineHQ
wineowner at wine.codeweavers.com
Sat May 26 11:32:45 CDT 2007
ChangeSet ID: 31140
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2007/05/26 11:32:45
Modified files:
. : README
include : config.php.sample
Log message:
Chris Morgan <cmorgan at alum.wpi.edu>
Clarify README to specify that you must update APPDB_ROOT to point to your own address. Update
the config.php.sample to not refer to the actuall appdb site. Users may forget to update this
field and end up on the live site without realizing it and do some unintended damage.
Patch: http://cvs.winehq.org/patch.py?id=31140
Old revision New revision Changes Path
1.10 1.11 +9 -5 appdb/README
1.15 1.16 +1 -1 appdb/include/config.php.sample
Index: appdb/README
diff -u -p appdb/README:1.10 appdb/README:1.11
--- appdb/README:1.10 26 May 2007 16:32:45 -0000
+++ appdb/README 26 May 2007 16:32:45 -0000
@@ -20,12 +20,16 @@ To install locally for testing/hacking:
# Edit include/config.php as you see fit, the default name of the database
used in the table creation step below is "apidb", you'll have to modify
these files if you change this in config.php
+
+ # NOTE: You must update the APPDB_ROOT entry to be YOUR url to the application database
+ If this the APPDB_ROOT isn't correct your urls will point to the wrong pages.
+
+ # NOTE: if you've changed the name of the database by changing the define of
+ 'APPS_DB' in include/config.php you'll have to modify the 'create database' and 'use'
+ entries in pretty much every file in the /tables/ directory. The recommendation is to
+ leave the default value of APPS_DB to keep things simple
-# NOTE: if you've changed the name of the database by changing the define of
- 'APPS_DB' in include/config.php you'll have to modify the 'create database' and 'use'
- entries in pretty much every file in the /tables/ directory. The recommendation is to
- leave the default value of APPS_DB to keep things simple
-# cd tables, run ./create_tables to create the database tables
+# 'cd tables', run './create_tables' to create the database tables
# Look in include/config.php at the 'APPS_DBUSER' and 'APPS_DBPASS' defines.
Ensure that this user and password exist in your mysql users list and that this user
Index: appdb/include/config.php.sample
diff -u -p appdb/include/config.php.sample:1.15 appdb/include/config.php.sample:1.16
--- appdb/include/config.php.sample:1.15 26 May 2007 16:32:45 -0000
+++ appdb/include/config.php.sample 26 May 2007 16:32:45 -0000
@@ -13,7 +13,7 @@ define("APPDB_THUMBNAIL_WIDTH","128"); /
define("APPDB_THUMBNAIL_HEIGHT","128"); // height of the screenshot's thumbnails
define("APPDB_SCREENSHOT_MAXWIDTH","1024"); // width of the screenshot's thumbnails
define("APPDB_SCREENSHOT_MAXHEIGHT","768"); // height of the screenshot's thumbnails
-define("APPDB_ROOT", "http://appdb.winehq.org/"); // path to AppDB
+define("APPDB_ROOT", "http://localhost/appdb/"); // path to AppDB
define("APPDB_OWNER","WineHQ"); // with what product/company is this AppDB related ?
define("APPDB_OWNER_URL","http://www.winehq.org/"); // website of this product/company
define("APPDB_OWNER_EMAIL","appdb at winehq.org"); // e-mail of this product/company
More information about the wine-cvs
mailing list