Ajaxplorer is now Pydio
This commit is contained in:
parent
de8bc37223
commit
c61ef18c83
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
my $rec = $DB->get('ajaxplorer')
|
||||
|| $DB->new_record('ajaxplorer', {type => 'webapp'});
|
||||
my $rec = $DB->get('pydio')
|
||||
|| $DB->new_record('pydio', {type => 'webapp'});
|
||||
|
||||
my $url = $rec->prop('LogoutUrl');
|
||||
|
|
@ -74,10 +74,10 @@ if (!$vhost){
|
|||
$d->new_record("echange.$domain",{
|
||||
type => 'domain',
|
||||
Content => 'Primary',
|
||||
Description => "Ajaxplorer",
|
||||
Description => "Pydio",
|
||||
Nameservers => 'internet',
|
||||
TemplatePath => 'WebAppVirtualHost',
|
||||
DocumentRoot => '/usr/share/ajaxplorer',
|
||||
DocumentRoot => '/usr/share/pydio',
|
||||
Removable => 'yes',
|
||||
Authentication => 'LemonLDAP'
|
||||
});
|
||||
|
@ -86,7 +86,13 @@ if (!$vhost){
|
|||
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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue