Stupid typo, copy/paste errors and alias corrections

tags/0.1.0
Daniel Berteaud 11 years ago
parent 688dd2adf2
commit 45e17d39f8
  1. 2
      createlinks
  2. 4
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98LimeSurvey
  3. 4
      root/etc/e-smith/templates/usr/share/limesurvey/application/config/config.php/20Conf

@ -3,7 +3,7 @@
use esmith::Build::CreateLinks qw(:all); use esmith::Build::CreateLinks qw(:all);
# Templates to expand # 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)); 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"); safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/usr/share/limesurvey/application/config/config.php/template-begin");

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

@ -13,8 +13,8 @@ return array(
'db' => array( 'db' => array(
'connectionString' => 'mysql:unix_socket=/var/lib/mysql/mysql.sock;dbname={$limesurevey{'DbName'} || 'limesurvey'};', 'connectionString' => 'mysql:unix_socket=/var/lib/mysql/mysql.sock;dbname={$limesurevey{'DbName'} || 'limesurvey'};',
'emulatePrepare' => true, 'emulatePrepare' => true,
'username' => '{$limesurevey{'DbUser'} || 'limesurvey'}', 'username' => '{$limesurvey{'DbUser'} || 'limesurvey'}',
'password' => '{$limesurevey{'DbPassword'} || 'limesurvey'}', 'password' => '{$limesurvey{'DbPassword'} || 'limesurvey'}',
'charset' => 'utf8', 'charset' => 'utf8',
'tablePrefix' => '', 'tablePrefix' => '',
), ),

Loading…
Cancel
Save