暂无描述

own3mall 8c77cf026c Subuser Expiration Date Affected By Main User's Expiration Date 6 年之前
Crypt 1901f57dfc Migrated from sf.net version 3390 9 年之前
css c4a5817ef0 Added dialogue box for Steam Guard code 8 年之前
images 39dffa9a79 SinusBot support - READ THE UPDATE LOG TO INSTALL THE BOT (#444) 6 年之前
includes 2bf59d43ab Open OGP API to Any IP Address by Default 7 年之前
js 099d09b9df API Links Fixes 7 年之前
lang c12c3a727e Transifex Language Updates - Generated by own3mall's auto script. 6 年之前
modules cb7fbfc4f8 Merge remote-tracking branch 'upstream/master' 6 年之前
protocol 39dffa9a79 SinusBot support - READ THE UPDATE LOG TO INSTALL THE BOT (#444) 6 年之前
themes 15247f7073 Minor Styling Change 8 年之前
COPYING 1901f57dfc Migrated from sf.net version 3390 9 年之前
README.md 351dfd6ea6 styling code 8 年之前
home.php 8c77cf026c Subuser Expiration Date Affected By Main User's Expiration Date 6 年之前
index.php ff7afb579a Don't log passwords 8 年之前
install.php 2cba148cba Install module modulemanager first while installing. 7 年之前
ogp_api.php fc66ac9f02 Load Settings Earlier 7 年之前
test_api.php 57dd902b67 PHP Compatibility 7 年之前

README.md

Open Game Panel

Backup Database

Backup of the existing database can be done with following command:

$ mysqldump --user [username] -p [database] > backup.sql

Replace the [username] with username located in includes/config.inc.php and [database] with database located in same file. After executing the command the password is asked (same as in config.inc.php).

Restore Database Backup

Backup can be restored with the following command:

$ mysql --user [username] -p [database] < backup.sql

Lost Admin Password

In case you lose the admin password you can reset the password with, for example, the following command:

$ mysql --user [username] -p [database]

Then type in the following command but change the OGP_USERNAME and NEW_PASSWORD to the proper ones:

UPDATE ogp_users SET users_passwd=MD5('NEW_PASSWORD') 
WHERE ogp_users.users_login='OGP_USERNAME';

After this type quit to exit the MySQL prompt.