Ajaxplorer is now Pydio

tags/0.2.5
Daniel Berteaud 11 years ago
parent de8bc37223
commit c61ef18c83
  1. 0
      root/etc/e-smith/db/configuration/defaults/pydio/AliasOnPrimary
  2. 0
      root/etc/e-smith/db/configuration/defaults/pydio/Authentication
  3. 0
      root/etc/e-smith/db/configuration/defaults/pydio/DefaultLanguage
  4. 0
      root/etc/e-smith/db/configuration/defaults/pydio/Title
  5. 0
      root/etc/e-smith/db/configuration/defaults/pydio/WelcomMessage
  6. 4
      root/etc/e-smith/db/configuration/migrate/90Pydio
  7. 12
      root/etc/e-smith/events/actions/ipasserelle-webapps-init-domains
  8. 0
      root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/040pydio

@ -1,6 +1,6 @@
{ {
my $rec = $DB->get('ajaxplorer') my $rec = $DB->get('pydio')
|| $DB->new_record('ajaxplorer', {type => 'webapp'}); || $DB->new_record('pydio', {type => 'webapp'});
my $url = $rec->prop('LogoutUrl'); my $url = $rec->prop('LogoutUrl');

@ -74,10 +74,10 @@ if (!$vhost){
$d->new_record("echange.$domain",{ $d->new_record("echange.$domain",{
type => 'domain', type => 'domain',
Content => 'Primary', Content => 'Primary',
Description => "Ajaxplorer", Description => "Pydio",
Nameservers => 'internet', Nameservers => 'internet',
TemplatePath => 'WebAppVirtualHost', TemplatePath => 'WebAppVirtualHost',
DocumentRoot => '/usr/share/ajaxplorer', DocumentRoot => '/usr/share/pydio',
Removable => 'yes', Removable => 'yes',
Authentication => 'LemonLDAP' Authentication => 'LemonLDAP'
}); });
@ -86,7 +86,13 @@ if (!$vhost){
die "Failed to create domain echange.$domain\n"; die "Failed to create domain echange.$domain\n";
} }
} }
elsif (($vhost->prop('DocumentRoot') || '/usr/share/pydio') eq '/usr/share/ajaxplorer'){
$d->set_prop("echange.$domain", 'DocumentRoot', '/usr/share/pydio');
$d->set_prop("echange.$domain", 'Description', 'Pydio');
unless ( system("/sbin/e-smith/signal-event", "domain-modify", "echange.$domain") == 0 ){
die "Failed to update domain echange.$domain\n";
}
}
$vhost = $d->get("wiki.$domain"); $vhost = $d->get("wiki.$domain");

Loading…
Cancel
Save