1
0

Тайлбар байхгүй

OwN-3m-All 7990f457a9 Merge pull request #145 from Adjokip/patch-6 9 жил өмнө
Crypt 1901f57dfc Migrated from sf.net version 3390 9 жил өмнө
css 3c282b1316 Code Cleanup 9 жил өмнө
images f1af34a7d9 DontStarveTogether: Replace icon with 16x16 9 жил өмнө
includes 389d58ac2a Show pagination according to game type in first page if no game in first page 9 жил өмнө
js f21c9f4b72 Fixes to JS and Bootstrap Loading & Consistency on All Pages 9 жил өмнө
lang 883e6cd8fd Transifex Language Updates - Generated by own3mall's auto script. 9 жил өмнө
modules 0020b578fa Update rcon.php 9 жил өмнө
protocol 8cf79b34f3 TeamSpeak 3 PHP Framework update 9 жил өмнө
themes f4e18ec23e Updated Footer Links in Main Theme 9 жил өмнө
COPYING 1901f57dfc Migrated from sf.net version 3390 9 жил өмнө
README.md 1901f57dfc Migrated from sf.net version 3390 9 жил өмнө
home.php 2011ca6f8b Panel Language Fix 9 жил өмнө
index.php 2011ca6f8b Panel Language Fix 9 жил өмнө
install.php 700d1dbf7f Minor Color Changes 9 жил өмнө
ogp_api.php 96b4b58cc3 Better API Logging Steam Update Functionality 9 жил өмнө

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.