Permalink
Browse files

Fix wrong path /user/user.js check

  • Loading branch information...
1 parent 4b676a6 commit 0b2efa21853f29f13dc4980cddcca44cc497d378 @andreashaerter andreashaerter committed Feb 9, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.php
View
@@ -100,7 +100,7 @@
}
//load userdefined js?
-if (tpl_getConf("prsnl10_loaduserjs") && file_exists(DOKU_TPL."user/user.js")){
+if (tpl_getConf("prsnl10_loaduserjs") && file_exists(DOKU_TPLINC."user/user.js")){
echo "<script type=\"text/javascript\" charset=\"utf-8\" src=\"".DOKU_TPL."user/user.js\"></script>\n";
}
?>

0 comments on commit 0b2efa2

Please sign in to comment.