-
Notifications
You must be signed in to change notification settings - Fork 10
Configuration
sjarvela edited this page Feb 11, 2015
·
13 revisions
Mollify app has two configurations
- Client configuration
- Backend configuration
Backend configuration file is located under folder "backend". Example configuration files can be found from "backend/examples".
Syntax of the configuration file is following:
$CONFIGURATION = array(
"name" => "value",
"name2" => "value2"
);
All possible configuration options, coming.
At minimum, define option "db" for database configuration, and "plugins" to configure plugins.
For example:
$CONFIGURATION = array(
"db" => array(
"type" => "mysql",
"database" => "mollify",
"user" => "mollify",
"password" => "mollify",
"charset" => "utf8"
),
// OTHER CONFIGURATION OPTIONS HERE...
"plugins" => array(
// PLUGIN CONFIGURATION HERE
)
);
Mollify supports MySQL and SQLite databases, either directly or via PDO interface.
Before installing Mollify, you have to create MySQL user and database for Mollify, and grant the new user CREATE/INSERT/UPDATE/DELETE rights for the created database.