smeserver-limesurvey/root/etc/e-smith/templates/usr/share/limesurvey/application/config/config.php/20Conf

40 lines
1.6 KiB
Plaintext

return array(
'basePath' => dirname(dirname(__FILE__)),
'runtimePath' => dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'tmp'.DIRECTORY_SEPARATOR.'runtime',
'name' => 'LimeSurvey',
'defaultController' => 'survey',
'import' => array(
'application.core.*',
'application.models.*',
'application.controllers.*',
'application.modules.*',
),
'components' => array(
'db' => array(
'connectionString' => 'mysql:unix_socket=/var/lib/mysql/mysql.sock;dbname={$limesurevey{'DbName'} || 'limesurvey'};',
'emulatePrepare' => true,
'username' => '{$limesurevey{'DbUser'} || 'limesurvey'}',
'password' => '{$limesurevey{'DbPassword'} || 'limesurvey'}',
'charset' => 'utf8',
'tablePrefix' => '',
),
'urlManager' => array(
'urlFormat' => 'path',
'rules' => require('routes.php'),
'showScriptName' => true,
),
),
'config'=>array(
'debug'=>0,
'debugsql'=>0,
'auth_webserver' => true,
'auth_webserver_autocreate_user' => true,
'siteadminemail' => 'admin@'.{$DomainName},
'emailmethod' => 'smtp',
'protocol' => 'smtp',
'emailsmtphost' => 'localhost',
)
);