Enable publiclets on a default install

tags/0.1.6 0.1.6
Daniel Berteaud 12 years ago
parent c84c95d681
commit fb78f7f835
  1. 2
      root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/050repo
  2. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Ajaxplorer
  3. 2
      root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/auth.serial/__user__/rights.ser/10All
  4. 2
      root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser/10All

@ -82,7 +82,7 @@ EOF
}
if (($ajaxplorer{'PublicShares'} || 'disabled') eq 'enabled'){
if (($ajaxplorer{'PublicShares'} || 'enabled') eq 'enabled'){
$OUT .=<<'EOF';
$REPOSITORIES["ajxp_shared"] = array(

@ -15,7 +15,7 @@ if (($ajaxplorer{'status'} || 'disabled') eq 'enabled'){
my $shares = '';
my $public = $ajaxplorer{'PublicShares'} || 'disabled';
my $public = $ajaxplorer{'PublicShares'} || 'enabled';
$OUT .=<<"EOF" if ($public eq 'enabled');
Alias /ajxppub /var/lib/ajaxplorer/public

@ -34,7 +34,7 @@ foreach my $share (@s){
}
$data->{'ajxp_shared'} = 'rw'
if (($ajaxplorer{'PublicShares'} || 'disabled') eq 'enabled');
if (($ajaxplorer{'PublicShares'} || 'enabled') eq 'enabled');
my $homedir = $ajaxplorer{'HomeDir'} || 'none';

@ -10,7 +10,7 @@ $data->{'core.ajaxplorer'}->{'AJXP_TMP_DIR'} = '/var/lib/ajaxplorer/tmp';
$data->{'core.ajaxplorer'}->{'DEFAULT_LANGUAGE'} = $ajaxplorer{'DefaultLanguage'} || 'en';
$data->{'core.ajaxplorer'}->{'APPLICATION_TITLE'} = $ajaxplorer{'Title'} || 'Ajaxplorer';
if (($ajaxplorer{'PublicShares'} || 'disabled') eq 'enabled'){
if (($ajaxplorer{'PublicShares'} || 'enabled') eq 'enabled'){
$data->{'core.ajaxplorer'}->{'PUBLIC_DOWNLOAD_FOLDER'} = '/var/lib/ajaxplorer/public';
$data->{'core.ajaxplorer'}->{'PUBLIC_DOWNLOAD_URL'} = $ajaxplorer{'PublicDownloadUrl'} || "http://$SystemName.$DomainName/ajxppub";
}

Loading…
Cancel
Save