This repository has been archived on 2025-05-24 . You can view files and clone it, but cannot push or open issues or pull requests.
89e7284f34aac7ffa49b65d1af86fe7c0c501d64
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.
WineHQ Application Database
------------------------------------------------------------------------
Authors:
Jeremy Newman <jnewman@codeweavers.com>
Charles Leop <charles@codeweavers.com>
To install locally for testing/hacking:
- Symlink from /var/www to the appdb directory
- Copy include/config.php.sample to include/config.php
- 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
- cd tables, run ./create_tables to create the database tables
- Try to open up localhost/appdb, if you get a directory listing
Edit your /etc/apache/httpd.conf "DirectoryIndex" to include index.php
so apache will open index.php after not finding index.html/index.htm etc
- Check your /etc/php/php.ini to ensure that 'register_globals = On' as the
appdb uses globals and won't work correctly without this
Description
Languages
PHP
56.7%
JavaScript
31%
HTML
9.3%
CSS
2.6%
Perl
0.4%