progress and WebGUI::Paths conversion
This commit is contained in:
parent
90d63c6713
commit
29df110409
23 changed files with 63 additions and 333 deletions
|
|
@ -2,6 +2,7 @@ package WebGUI::Image::Font;
|
|||
|
||||
use strict;
|
||||
use WebGUI::Storage;
|
||||
use WebGUI::Paths;
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
|
|
@ -72,7 +73,7 @@ sub getFile {
|
|||
if ($self->getStorageId) {
|
||||
return WebGUI::Storage->get($self->session, $self->getStorageId)->getPath($self->getFilename);
|
||||
} else {
|
||||
return $self->session->config->getWebguiRoot."/lib/default.ttf"
|
||||
return WebGUI::Paths->var . '/default.ttf';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue