Skip to content
Subin Siby edited this page Sep 6, 2014 · 1 revision

Database Configuration

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.

OAuth Configuration

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
Facebook 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 |

Encoding/Decoding Configuration

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().

Clone this wiki locally