-
Notifications
You must be signed in to change notification settings - Fork 51
config
Subin Siby edited this page Sep 6, 2014
·
1 revision
Database variables are in config.php at the base directory of Open. The variables is as follows :
Variable | Description |
---|---|
$dbname | Database name |
$host | Database host (localhost) |
$port | Database Port (3306) |
$usr | Database User |
$pass | Database User's Password. |
Facebook, Twitter & Google needs client id's and client secret values. You have to place them according to the following for each service :
Service | Locations |
---|---|
source/oauth/login_with_facebook.php |
inc/class.social.php |
| Twitter | source/oauth/login_with_twitter.php inc/class.social.php | | Google | source/oauth/login_with_google.php |
Open encodes & decodes data for various purposes. The Key used for encryption and decryption can be seen @ inc/class.open.php file's $key variables situated in the functions encrypt() and decrypt().