[various] Use __DIR__ constant in all Page registerStylesheet and registerFooterScript calls

This commit is contained in:
Hypolite Petovan 2021-11-20 04:29:09 -05:00
parent 5c0b20b21f
commit f0522a998b
10 changed files with 14 additions and 26 deletions

View file

@ -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)