Нет описания

OwN-3m-All 62548577d2 Only Admin User Can Use Lang-Check Page (#637) 1 год назад
Crypt 1901f57dfc Migrated from sf.net version 3390 9 лет назад
css 2d7c803965 OS icon size adjustment 4 лет назад
images 3aefaf0e94 Added Minecraft Bedrock xml for Ubuntu (Linux) 2 лет назад
includes 88f9dfda4f Set mysqli connection charset to utf8mb4 (#633) 2 лет назад
js f14e6d6531 Fix 4 лет назад
lang 62548577d2 Only Admin User Can Use Lang-Check Page (#637) 1 год назад
modules 6ac37775d9 Removed strip_real_escape_string from content being written to file via litefm file module - breaks python spacing and creates other problems (#635) 1 год назад
protocol 39edf12df7 Update GameQ 2 лет назад
themes f392ed0d13 Update styles.css 4 лет назад
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 d460087e06 Minor Fix 4 лет назад
install.php 5d48962d91 Feature/php xmlrpc replacement (#596) 3 лет назад
ogp_api.php f22caff1ad Security Enhancements (#624) 2 лет назад
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.