mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-07-06 01:41:30 +02:00
Fix #45
This commit is contained in:
+2
-2
@@ -26,10 +26,10 @@ sub startup {
|
||||
# Themes handling
|
||||
shift @{$self->static->paths};
|
||||
if ($config->{theme} ne 'default') {
|
||||
my $theme = $self->home->rel_dir('themes/'.$config->{theme});
|
||||
my $theme = $self->home->rel_file('themes/'.$config->{theme});
|
||||
push @{$self->static->paths}, $theme.'/public' if -d $theme.'/public';
|
||||
}
|
||||
push @{$self->static->paths}, $self->home->rel_dir('themes/default/public');
|
||||
push @{$self->static->paths}, $self->home->rel_file('themes/default/public');
|
||||
|
||||
$self->plugin('Mount' => {$config->{prefix} => File::Spec->catfile($Bin, '..', 'script', 'application')});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user