MT#6703 restore config paths to static and templates

agranig/subprof
Gerhard Jungwirth 12 years ago
parent 4eeedf36fe
commit c169414196

@ -57,6 +57,9 @@ __PACKAGE__->config(
},
'View::HTML' => {
INCLUDE_PATH => [
'/usr/share/ngcp-panel/templates',
'/usr/share/ngcp-panel/layout',
'/usr/share/ngcp-panel/static',
__PACKAGE__->path_to('share', 'templates'),
__PACKAGE__->path_to('share', 'layout'),
__PACKAGE__->path_to('share', 'static'),
@ -66,6 +69,9 @@ __PACKAGE__->config(
},
'View::SVG' => {
INCLUDE_PATH => [
'/usr/share/ngcp-panel/templates',
'/usr/share/ngcp-panel/layout',
'/usr/share/ngcp-panel/static',
__PACKAGE__->path_to('share', 'templates'),
__PACKAGE__->path_to('share', 'layout'),
__PACKAGE__->path_to('share', 'static'),
@ -82,6 +88,7 @@ __PACKAGE__->config(
'Plugin::Static::Simple' => {
include_path => [
'/usr/share/ngcp-panel/templates',
__PACKAGE__->path_to('share', 'static'),
],
mime_types => {

Loading…
Cancel
Save