Stupid typo, copy/paste errors and alias corrections

This commit is contained in:
Daniel Berteaud 2013-11-08 16:29:46 +01:00
parent 688dd2adf2
commit 45e17d39f8
3 changed files with 4 additions and 6 deletions

View File

@ -3,7 +3,7 @@
use esmith::Build::CreateLinks qw(:all);
# Templates to expand
templates2events("/etc/e-smith/sql/init/opensondage", qw(bootstrap-console-save webapps-update));
templates2events("/etc/e-smith/sql/init/limesurvey", qw(bootstrap-console-save webapps-update));
templates2events("/usr/share/limesurvey/application/config/config.php", qw(bootstrap-console-save webapps-update));
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/usr/share/limesurvey/application/config/config.php/template-begin");

View File

@ -3,9 +3,7 @@ my $access = $limesurvey{'access'} || 'private';
my $allow = ($access eq 'public')?'all':"$localAccess $externalSSLAccess";
my $alias = (($limesurvey{'AliasOnPrimary'} || 'enabled') ne 'enabled') ?
'':"Alias /limesurvey/tmp /var/lib/limesurvey/tmp\n" .
"Alias /limesurvey/upload /var/lib/limesurvey/upload\n" .
"Alias /limesurvey /usr/share/limesurvey";
'':'Alias /limesurvey /usr/share/limesurvey';
my $auth = (($limesurvey{'Authentication'} || 'http') eq 'http') ? "AuthName \"LimeSurvey\"\n" .
" AuthType Basic\n" .
" AuthExternal pwauth\n" .

View File

@ -13,8 +13,8 @@ return 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'}',
'username' => '{$limesurvey{'DbUser'} || 'limesurvey'}',
'password' => '{$limesurvey{'DbPassword'} || 'limesurvey'}',
'charset' => 'utf8',
'tablePrefix' => '',
),