Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../var/softacul.../lime3
File: config.php
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
[0] Fix | Delete
/*
[1] Fix | Delete
| -------------------------------------------------------------------
[2] Fix | Delete
| DATABASE CONNECTIVITY SETTINGS
[3] Fix | Delete
| -------------------------------------------------------------------
[4] Fix | Delete
| This file will contain the settings needed to access your database.
[5] Fix | Delete
|
[6] Fix | Delete
| For complete instructions please consult the 'Database Connection'
[7] Fix | Delete
| page of the User Guide.
[8] Fix | Delete
|
[9] Fix | Delete
| -------------------------------------------------------------------
[10] Fix | Delete
| EXPLANATION OF VARIABLES
[11] Fix | Delete
| -------------------------------------------------------------------
[12] Fix | Delete
|
[13] Fix | Delete
| 'connectionString' Hostname, database, port and database type for
[14] Fix | Delete
| the connection. Driver example: mysql. Currently supported:
[15] Fix | Delete
| mysql, pgsql, mssql, sqlite, oci
[16] Fix | Delete
| 'username' The username used to connect to the database
[17] Fix | Delete
| 'password' The password used to connect to the database
[18] Fix | Delete
| 'tablePrefix' You can add an optional prefix, which will be added
[19] Fix | Delete
| to the table name when using the Active Record class
[20] Fix | Delete
|
[21] Fix | Delete
*/
[22] Fix | Delete
return array(
[23] Fix | Delete
'components' => array(
[24] Fix | Delete
'db' => array(
[25] Fix | Delete
'connectionString' => 'mysql:host=[[softdbhost]];port=3306;dbname=[[softdb]];',
[26] Fix | Delete
'emulatePrepare' => true,
[27] Fix | Delete
'username' => '[[softdbuser]]',
[28] Fix | Delete
'password' => '[[softdbpass]]',
[29] Fix | Delete
'charset' => 'utf8mb4',
[30] Fix | Delete
'tablePrefix' => '[[dbprefix]]',
[31] Fix | Delete
),
[32] Fix | Delete
[33] Fix | Delete
'session' => array (
[34] Fix | Delete
'sessionName'=>'LS-[[session_name_]]'
[35] Fix | Delete
// Uncomment the following lines if you need table-based sessions.
[36] Fix | Delete
// Note: Table-based sessions are currently not supported on MSSQL server.
[37] Fix | Delete
// 'class' => 'application.core.web.DbHttpSession',
[38] Fix | Delete
// 'connectionID' => 'db',
[39] Fix | Delete
// 'sessionTableName' => '{{sessions}}',
[40] Fix | Delete
),
[41] Fix | Delete
[42] Fix | Delete
'urlManager' => array(
[43] Fix | Delete
'urlFormat' => 'path',
[44] Fix | Delete
'rules' => array(
[45] Fix | Delete
// You can add your own rules here
[46] Fix | Delete
),
[47] Fix | Delete
'showScriptName' => true,
[48] Fix | Delete
),
[49] Fix | Delete
[50] Fix | Delete
),
[51] Fix | Delete
// For security issue : it's better to set runtimePath out of web access
[52] Fix | Delete
// Directory must be readable and writable by the webuser
[53] Fix | Delete
// 'runtimePath'=>'/var/limesurvey/runtime/'
[54] Fix | Delete
// Use the following config variable to set modified optional settings copied from config-defaults.php
[55] Fix | Delete
'config'=>array(
[56] Fix | Delete
// debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this
[57] Fix | Delete
// then please check your error-logs - either in your hosting provider admin panel or in some /logs directory
[58] Fix | Delete
// on your webspace.
[59] Fix | Delete
// LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates
[60] Fix | Delete
'debug'=>0,
[61] Fix | Delete
'debugsql'=>0, // Set this to 1 to enanble sql logging, only active when debug = 2
[62] Fix | Delete
// Update default LimeSurvey config here
[63] Fix | Delete
)
[64] Fix | Delete
);
[65] Fix | Delete
/* End of file config.php */
[66] Fix | Delete
/* Location: ./application/config/config.php */
[67] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function