No Description

DieFeM 0abed8f986 Merge pull request #589 from M-itch/master 3 years ago
Crypt 1901f57dfc Migrated from sf.net version 3390 9 years ago
css 2d7c803965 OS icon size adjustment 4 years ago
images 6f3d191414 Delete windows.png 4 years ago
includes 00016442b3 Restored unwanted changes 3 years ago
js f14e6d6531 Fix 4 years ago
lang dbfb590250 Transifex Language Updates - Generated by own3mall's auto script. 3 years ago
modules 00016442b3 Restored unwanted changes 3 years ago
protocol 0abed8f986 Merge pull request #589 from M-itch/master 3 years ago
themes f392ed0d13 Update styles.css 4 years ago
COPYING 1901f57dfc Migrated from sf.net version 3390 9 years ago
README.md 351dfd6ea6 styling code 8 years ago
home.php d46f04f2cd OS Differentiation (#579) 4 years ago
index.php d460087e06 Minor Fix 4 years ago
install.php 877b06c015 Adjusted Spearhead Demo Name and Removed Install Password Requirement Not Allows Special Chars 6 years ago
ogp_api.php 3ff4272038 PHP 8 Fixes 5 years ago
test_api.php 57dd902b67 PHP Compatibility 7 years ago

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.