暫無描述

own3mall 78a13e366e Transifex Language Updates - Generated by own3mall's auto script. 2 年之前
Crypt 1901f57dfc Migrated from sf.net version 3390 9 年之前
css 2d7c803965 OS icon size adjustment 4 年之前
images 6f3d191414 Delete windows.png 4 年之前
includes 0fa6895853 DB File Fixes (#616) 2 年之前
js f14e6d6531 Fix 4 年之前
lang 78a13e366e Transifex Language Updates - Generated by own3mall's auto script. 2 年之前
modules dd7e3c2048 Various Minor Fixes (#615) 2 年之前
protocol 0abed8f986 Merge pull request #589 from M-itch/master 3 年之前
themes f392ed0d13 Update styles.css 4 年之前
COPYING 1901f57dfc Migrated from sf.net version 3390 9 年之前
README.md 351dfd6ea6 styling code 8 年之前
home.php ca97cf507d php 8.2+ fixes (#611) 2 年之前
index.php d460087e06 Minor Fix 4 年之前
install.php 5d48962d91 Feature/php xmlrpc replacement (#596) 3 年之前
ogp_api.php ca97cf507d php 8.2+ fixes (#611) 2 年之前
test_api.php ca97cf507d php 8.2+ fixes (#611) 2 年之前

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.