暫無描述

own3mall a1bbc7db15 Weird Fix for SQL Issue https://github.com/OpenGamePanel/OGP-Website/issues/348 8 年之前
Crypt 1901f57dfc Migrated from sf.net version 3390 9 年之前
css 9ba3b0d64e Do Not Allow Uploading More Files Until First Operation is Finished 8 年之前
images 793b519e3b Added Citadel: Forged with Fire xml 8 年之前
includes a1bbc7db15 Weird Fix for SQL Issue https://github.com/OpenGamePanel/OGP-Website/issues/348 8 年之前
js 15247f7073 Minor Styling Change 8 年之前
lang b743781d4e Transifex Language Updates - Generated by own3mall's auto script. 8 年之前
modules 665d47a2d6 ARK: Survival Evolved xml update 8 年之前
protocol 793b519e3b Added Citadel: Forged with Fire xml 8 年之前
themes 15247f7073 Minor Styling Change 8 年之前
COPYING 1901f57dfc Migrated from sf.net version 3390 9 年之前
README.md 1901f57dfc Migrated from sf.net version 3390 9 年之前
home.php b82b72ed07 Fixed Copyrights in the files 8 年之前
index.php 8d952ee8c6 Merge remote-tracking branch 'upstream/master' 8 年之前
install.php 6c22afa8aa PHP 5.3 Compatibility 8 年之前
ogp_api.php b82b72ed07 Fixed Copyrights in the files 8 年之前

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 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 eample the following command:

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

Then type in 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.