Açıklama Yok

OwN-3m-All 19983747da Merge pull request #7 from rocco27/master 9 yıl önce
Crypt 1901f57dfc Migrated from sf.net version 3390 9 yıl önce
css 1901f57dfc Migrated from sf.net version 3390 9 yıl önce
images 8b6eb6ac6e Squad xml update 9 yıl önce
includes 6d715f17f2 Updated Recursive Delete Function 9 yıl önce
js fd38eb90e8 Minor Color Changes 9 yıl önce
lang a828848f91 English language updated 9 yıl önce
modules 255225c96d New string 9 yıl önce
protocol 8b6eb6ac6e Squad xml update 9 yıl önce
themes f4e18ec23e Updated Footer Links in Main Theme 9 yıl önce
COPYING 1901f57dfc Migrated from sf.net version 3390 9 yıl önce
README.md 1901f57dfc Migrated from sf.net version 3390 9 yıl önce
home.php 1901f57dfc Migrated from sf.net version 3390 9 yıl önce
index.php 652ceabedb Adds Panel Settings for Number of Failed Logins Before Banning 9 yıl önce
install.php 700d1dbf7f Minor Color Changes 9 yıl önce

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.