SproutCMS

This is the code documentation for the SproutCMS project

function genDbConfig()

Generate a database config from given parameters

Usage

string WelcomeController::genDbConfig ( array $data );

Arguments

  1. array $data
    Config params; 'production', 'host', 'user', 'pass', 'database'

Return value

  • string