[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
|
@ -30,7 +30,7 @@ function qcomment_install()
|
|||
|
||||
function qcomment_footer(\Friendica\App $a, &$b)
|
||||
{
|
||||
DI::page()->registerFooterScript(__DIR__ . '/qcomment.js');
|
||||
DI::page()->registerFooterScript('addon/qcomment/qcomment.js');
|
||||
}
|
||||
|
||||
function qcomment_addon_settings(&$a, &$s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue