1
0

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

own3mall fc65d022cf Merge remote-tracking branch 'upstream/master' 5 жил өмнө
Crypt 1901f57dfc Migrated from sf.net version 3390 9 жил өмнө
css c4a5817ef0 Added dialogue box for Steam Guard code 8 жил өмнө
images 9692fc0823 Basic support for Night of the Dead (#514) 5 жил өмнө
includes aaf7e13e8f Quake 3 Changes 5 жил өмнө
js 52b38d35eb Minor Adjustments to Sortable Servers 6 жил өмнө
lang b5c5b0c271 Transifex Language Updates - Generated by own3mall's auto script. 5 жил өмнө
modules fc65d022cf Merge remote-tracking branch 'upstream/master' 5 жил өмнө
protocol f5de85a052 Update lgsl protocol (#518) 5 жил өмнө
themes 15247f7073 Minor Styling Change 8 жил өмнө
COPYING 1901f57dfc Migrated from sf.net version 3390 9 жил өмнө
README.md 351dfd6ea6 styling code 8 жил өмнө
home.php 8c77cf026c Subuser Expiration Date Affected By Main User's Expiration Date 6 жил өмнө
index.php d59bb1bad9 Added Ban Time Setting 5 жил өмнө
install.php 877b06c015 Adjusted Spearhead Demo Name and Removed Install Password Requirement Not Allows Special Chars 6 жил өмнө
ogp_api.php da3347f14b API Changes 6 жил өмнө
test_api.php 57dd902b67 PHP Compatibility 7 жил өмнө

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.