Sen descrición

own3mall 6a2b8aa8da Security Hardening %!s(int64=4) %!d(string=hai) anos
Crypt 1901f57dfc Migrated from sf.net version 3390 %!s(int64=9) %!d(string=hai) anos
css c4a5817ef0 Added dialogue box for Steam Guard code %!s(int64=8) %!d(string=hai) anos
images 7b95d5540f Beyond the Wire Windows support (#538) %!s(int64=5) %!d(string=hai) anos
includes 6a2b8aa8da Security Hardening %!s(int64=4) %!d(string=hai) anos
js 52b38d35eb Minor Adjustments to Sortable Servers %!s(int64=6) %!d(string=hai) anos
lang 6da3645ea9 Transifex Language Updates - Generated by own3mall's auto script. %!s(int64=5) %!d(string=hai) anos
modules 6567bf249e Security Hardening %!s(int64=4) %!d(string=hai) anos
protocol 840bdaa6e3 Updated lgsl_protocol.php for Windows L4D2 Query Changes https://steamcommunity.com/discussions/forum/14/2974028351344359625/ - Fix Found From https://github.com/tltneon/lgsl/blob/master/lgsl_files/lgsl_protocol.php %!s(int64=5) %!d(string=hai) anos
themes 15247f7073 Minor Styling Change %!s(int64=8) %!d(string=hai) anos
COPYING 1901f57dfc Migrated from sf.net version 3390 %!s(int64=9) %!d(string=hai) anos
README.md 351dfd6ea6 styling code %!s(int64=8) %!d(string=hai) anos
home.php 8c77cf026c Subuser Expiration Date Affected By Main User's Expiration Date %!s(int64=6) %!d(string=hai) anos
index.php 14d4d74140 Minor Changes as Referenced in PR https://github.com/OpenGamePanel/OGP-Website/pull/521 %!s(int64=5) %!d(string=hai) anos
install.php 877b06c015 Adjusted Spearhead Demo Name and Removed Install Password Requirement Not Allows Special Chars %!s(int64=6) %!d(string=hai) anos
ogp_api.php 3ff4272038 PHP 8 Fixes %!s(int64=5) %!d(string=hai) anos
test_api.php 57dd902b67 PHP Compatibility %!s(int64=7) %!d(string=hai) anos

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.