Нема описа

own3mall 8ea7cda937 Transifex Language Updates - Generated by own3mall's auto script. пре 6 година
Crypt 1901f57dfc Migrated from sf.net version 3390 пре 9 година
css c4a5817ef0 Added dialogue box for Steam Guard code пре 8 година
images 51d8acd2f1 Merge pull request #460 from Bebiano86/master пре 6 година
includes 43ab74e82a Remove Charset Setting пре 6 година
js 52b38d35eb Minor Adjustments to Sortable Servers пре 6 година
lang 8ea7cda937 Transifex Language Updates - Generated by own3mall's auto script. пре 6 година
modules b8a5f84925 Fixed server info/controls not showing when expanding via icon column пре 6 година
protocol 99b077817b order (#461) пре 6 година
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 e8a2307e55 Game Server Ordering - Can be set by admin user only (#449) пре 6 година
install.php b8e8c5064d Added MySQLi Check - Fixes https://github.com/OpenGamePanel/OGP-Website/issues/455 пре 6 година
ogp_api.php e8a2307e55 Game Server Ordering - Can be set by admin user only (#449) пре 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.