Permalink
Browse files

Fix wrong path /user/user.js check

  • Loading branch information...
andreashaerter committed Feb 9, 2014
1 parent dbc0eb3 commit 11d1b4a4bce42dfd5cf437e7618a3cb54d900ec9
Showing with 1 addition and 2 deletions.
  1. +1 −1 main.php
  2. +0 −1 user/tracker.php.dist
View
@@ -504,7 +504,7 @@ function _monobook_renderButtons($arr)
}
//load userdefined js?
if (tpl_getConf("monobook_loaduserjs") && file_exists(DOKU_TPL."user/user.js")){
if (tpl_getConf("monobook_loaduserjs") && file_exists(DOKU_TPLINC."user/user.js")){
echo "<script type=\"text/javascript\" charset=\"utf-8\" src=\"".DOKU_TPL."user/user.js\"></script>\n";
}
View
@@ -27,7 +27,6 @@
* @link http://piwik.org/
* @link http://www.google.com/analytics/
* @link https://www.dokuwiki.org/template:monobook
* @link https://www.dokuwiki.org/devel:configuration
*/

0 comments on commit 11d1b4a

Please sign in to comment.