[various] Use __DIR__ constant in all Page registerStylesheet and registerFooterScript calls
This commit is contained in:
parent
5c0b20b21f
commit
f0522a998b
10 changed files with 14 additions and 26 deletions
|
@ -93,7 +93,7 @@ function diaspora_settings(App $a, &$s)
|
|||
}
|
||||
}
|
||||
|
||||
DI::page()->registerStylesheet('addon/diaspora/diaspora.css');
|
||||
DI::page()->registerStylesheet(__DIR__ . '/diaspora.css');
|
||||
|
||||
$t = Renderer::getMarkupTemplate('settings.tpl', 'addon/diaspora/');
|
||||
$s .= Renderer::replaceMacros($t, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue