Bez popisu

Adjokip ff2d0b8e29 Adds Auto-Update Functionality. před 9 roky
Crypt 1901f57dfc Migrated from sf.net version 3390 před 9 roky
css 4d338d2ad5 Hiding / Copying of Version of OGP Made Easier před 9 roky
images f1f6c68542 Merge pull request #44 from smalls89/patch-1 před 9 roky
includes ff2d0b8e29 Adds Auto-Update Functionality. před 9 roky
js b4d37d10d7 Revert "Assigning Multiple Cores to Servers" před 9 roky
lang b4d37d10d7 Revert "Assigning Multiple Cores to Servers" před 9 roky
modules b4d37d10d7 Revert "Assigning Multiple Cores to Servers" před 9 roky
protocol 38af57e4f2 sort it alphabetically in order to keep... order před 9 roky
themes f4e18ec23e Updated Footer Links in Main Theme před 9 roky
COPYING 1901f57dfc Migrated from sf.net version 3390 před 9 roky
README.md 1901f57dfc Migrated from sf.net version 3390 před 9 roky
home.php 1901f57dfc Migrated from sf.net version 3390 před 9 roky
index.php 6d20ab421c Test před 9 roky
install.php 700d1dbf7f Minor Color Changes před 9 roky

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 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 eample the following command:

$ mysql --user [username] -p [database]

Then type in 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.