Aucune description

®omano c2953576dc Removing DSi administration icon from OGP Master il y a 8 ans
Crypt 1901f57dfc Migrated from sf.net version 3390 il y a 9 ans
css c4a5817ef0 Added dialogue box for Steam Guard code il y a 8 ans
images a75aae9bf2 Space Engineers xml updated il y a 8 ans
includes c0891bcb46 duplicated lang constant, hasValue to isset and !empty, function getThemePath il y a 8 ans
js c4a5817ef0 Added dialogue box for Steam Guard code il y a 8 ans
lang 55e8939a4a Merge pull request #375 from Zorrototo/master il y a 8 ans
modules c2953576dc Removing DSi administration icon from OGP Master il y a 8 ans
protocol 4f87c2e374 Starbound xml update il y a 8 ans
themes 15247f7073 Minor Styling Change il y a 8 ans
COPYING 1901f57dfc Migrated from sf.net version 3390 il y a 9 ans
README.md 351dfd6ea6 styling code il y a 8 ans
home.php b82b72ed07 Fixed Copyrights in the files il y a 8 ans
index.php ff7afb579a Don't log passwords il y a 8 ans
install.php 6c22afa8aa PHP 5.3 Compatibility il y a 8 ans
ogp_api.php 57b0526cce Added host access control to the API il y a 8 ans
test_api.php e19b6e073b New API il y a 8 ans

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.