Nessuna descrizione

own3mall f7e2549bac Transifex Language Updates - Generated by own3mall's auto script. 8 anni fa
Crypt 1901f57dfc Migrated from sf.net version 3390 9 anni fa
css f8e64d7054 CSS Tweak 9 anni fa
images 62827580cd New icon for Life is Feudal 9 anni fa
includes 2629c671db Fixed access rights for admin and datetime picker 9 anni fa
js a97112fab5 datepicker 9 anni fa
lang f7e2549bac Transifex Language Updates - Generated by own3mall's auto script. 8 anni fa
modules c68e5b6c04 Merge pull request #195 from Zorrototo/master 8 anni fa
protocol 0983d02fb0 Typo errors with Life is Feudal 9 anni fa
themes 91974e1420 1000 PX Minimum for Revolution 9 anni fa
COPYING 1901f57dfc Migrated from sf.net version 3390 9 anni fa
README.md 1901f57dfc Migrated from sf.net version 3390 9 anni fa
home.php 84c84a3898 Fixed the TS3 icon 9 anni fa
index.php cd840d15c3 Fixed Copyrights in the files Part IV. 9 anni fa
install.php cd840d15c3 Fixed Copyrights in the files Part IV. 9 anni fa
ogp_api.php d54939f24c PHP 5.3 Compatibility in ogp_api 8 anni fa

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.