1
0

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

own3mall c2788c9840 Transifex Language Updates - Generated by own3mall's auto script. 2 өдөр өмнө
Crypt 1901f57dfc Migrated from sf.net version 3390 9 жил өмнө
css 7aabb95656 CSS Fixes - Better Than Before (#652) 8 сар өмнө
images a10cd101ae Added Icon (#661) 6 сар өмнө
includes 86cb4275ae Fix directory traversal vulnerability and double URL decode in litefm (#666) 2 сар өмнө
js b074149b16 Fix for Issue (#663) 6 сар өмнө
lang c2788c9840 Transifex Language Updates - Generated by own3mall's auto script. 2 өдөр өмнө
modules fdaf297f74 Fix Lang Constant in Rsync (#667) 1 сар өмнө
protocol 39edf12df7 Update GameQ 2 жил өмнө
themes d62d2094ed CSS Changes to Revolution Theme (#654) 8 сар өмнө
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 52f865a4fb Fixes Reported by Project Black (#644) 1 жил өмнө
install.php 5d48962d91 Feature/php xmlrpc replacement (#596) 3 жил өмнө
ogp_api.php 81938120f8 Minor Windows Fix (#646) 10 сар өмнө
robots.txt a303aba416 Added robots.txt to try to help AI bots better behave themselves (#645) 1 жил өмнө
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.