- <?php
- $cfg = <<<EOF
- <?php
- \$config = array();
- \$config['db']['master']['host'] = '{db-server}';
- \$config['db']['master']['username'] = '{db-username}';
- \$config['db']['master']['password'] = '{db-password}';
- \$config['db']['master']['port'] = '{db-port}';
- \$config['db']['master']['database'] = '{db-name}';
- \$config['db']['master']['charset'] = 'utf8';
- \$config['db']['master']['pconnect'] = 0;
- \$config['db']['master']['tablepre'] = '{db-tablepre}';
- EOF;
- return trim($cfg);
|