Нет описания

own3mall be377c5876 Use Posted IP if Passes Checks 7 лет назад
Crypt 1901f57dfc Migrated from sf.net version 3390 9 лет назад
css c4a5817ef0 Added dialogue box for Steam Guard code 8 лет назад
images 14f674ddd0 Merge pull request #406 from rocco27/master 7 лет назад
includes e878238137 Check NAT and Agent IP 7 лет назад
js b3d108968e Disable change access rights button if there are no servers selected. 7 лет назад
lang fb2bdbf7a4 Transifex Language Updates - Generated by own3mall's auto script. 7 лет назад
modules be377c5876 Use Posted IP if Passes Checks 7 лет назад
protocol b25b4910d8 Merge branch 'master' of https://github.com/rocco27/OGP-Website 7 лет назад
themes 15247f7073 Minor Styling Change 8 лет назад
COPYING 1901f57dfc Migrated from sf.net version 3390 9 лет назад
README.md 351dfd6ea6 styling code 8 лет назад
home.php 47f8f16bb1 Revert Home Changes 7 лет назад
index.php ff7afb579a Don't log passwords 8 лет назад
install.php 2cba148cba Install module modulemanager first while installing. 7 лет назад
ogp_api.php b43dff2b64 Improved API host authorization. 7 лет назад
test_api.php e19b6e073b New API 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 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.