Skip to content

Commit 0b2efa2

Browse files
Fix wrong path /user/user.js check
1 parent 4b676a6 commit 0b2efa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
}
101101

102102
//load userdefined js?
103-
if (tpl_getConf("prsnl10_loaduserjs") && file_exists(DOKU_TPL."user/user.js")){
103+
if (tpl_getConf("prsnl10_loaduserjs") && file_exists(DOKU_TPLINC."user/user.js")){
104104
echo "<script type=\"text/javascript\" charset=\"utf-8\" src=\"".DOKU_TPL."user/user.js\"></script>\n";
105105
}
106106
?>

0 commit comments

Comments
 (0)