06bbf62fc4
I3c389596373b94459a32a4e540d514a2941acbb1 Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org> Change-Id: Iad9e5bde37c467b9930c354f4d0b312b219d05b3 Story: 2000691 Task: 3164
66 lines
3.0 KiB
Plaintext
66 lines
3.0 KiB
Plaintext
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
|
/*
|
|
| -------------------------------------------------------------------
|
|
| DATABASE CONNECTIVITY SETTINGS
|
|
| -------------------------------------------------------------------
|
|
| This file will contain the settings needed to access your database.
|
|
|
|
|
| For complete instructions please consult the 'Database Connection'
|
|
| page of the User Guide.
|
|
|
|
|
| -------------------------------------------------------------------
|
|
| EXPLANATION OF VARIABLES
|
|
| -------------------------------------------------------------------
|
|
|
|
|
| 'connectionString' Hostname, database, port and database type for
|
|
| the connection. Driver example: mysql. Currently supported:
|
|
| mysql, pgsql, mssql, sqlite, oci
|
|
| 'username' The username used to connect to the database
|
|
| 'password' The password used to connect to the database
|
|
| 'tablePrefix' You can add an optional prefix, which will be added
|
|
| to the table name when using the Active Record class
|
|
|
|
|
*/
|
|
return array(
|
|
'components' => array(
|
|
'db' => array(
|
|
'connectionString' => 'mysql:host=<%= @dbhost %>;port=3306;dbname=limesurvey;',
|
|
'emulatePrepare' => true,
|
|
'username' => 'limesurvey',
|
|
'password' => '<%= @dbpassword %>',
|
|
'charset' => 'utf8mb4',
|
|
'tablePrefix' => '',
|
|
),
|
|
|
|
// Uncomment the following line if you need table-based sessions
|
|
// 'session' => array (
|
|
// 'class' => 'application.core.web.DbHttpSession',
|
|
// 'connectionID' => 'db',
|
|
// 'sessionTableName' => '{{sessions}}',
|
|
// ),
|
|
|
|
'urlManager' => array(
|
|
'urlFormat' => 'path',
|
|
'rules' => array(
|
|
// You can add your own rules here
|
|
),
|
|
'showScriptName' => true,
|
|
),
|
|
|
|
),
|
|
// Use the following config variable to set modified optional settings copied from config-defaults.php
|
|
'config'=>array(
|
|
// debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this
|
|
// then please check your error-logs - either in your hosting provider admin panel or in some /logs directory
|
|
// on your webspace.
|
|
// LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates
|
|
'debug'=>0,
|
|
'debugsql'=>0, // Set this to 1 to enanble sql logging, only active when debug = 2
|
|
// Update default LimeSurvey config here
|
|
'auth_webserver'=>true,
|
|
'auth_webserver_autocreate_user'=>true,
|
|
)
|
|
);
|
|
/* End of file config.php */
|
|
/* Location: ./application/config/config.php */
|