Permalink
Browse files

Fix wrong path /user/user.js check

  • Loading branch information...
1 parent 56480ef commit 62fce0094bc68625314342bf1ac3e5aab53c19fa @andreashaerter andreashaerter committed Feb 9, 2014
Showing with 3 additions and 2 deletions.
  1. +1 −1 main.php
  2. +2 −0 user/boxes.php.dist
  3. +0 −1 user/tracker.php.dist
View
@@ -453,7 +453,7 @@ function _vector_renderButtons($arr)
}
//load userdefined js?
-if (tpl_getConf("vector_loaduserjs") && file_exists(DOKU_TPL."user/user.js")){
+if (tpl_getConf("vector_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
@@ -40,6 +40,8 @@ if (!defined("DOKU_INC")){
$_vector_boxes["example1"]["headline"] = "Hello World!";
$_vector_boxes["example1"]["xhtml"] = "DokuWiki with vector... <em>rules</em>!";
+
+
//examples: remove comments to see what is happening
/*
@@ -27,7 +27,6 @@
* @link http://piwik.org/
* @link http://www.google.com/analytics/
* @link https://www.dokuwiki.org/template:vector
- * @link https://www.dokuwiki.org/devel:configuration
*/

0 comments on commit 62fce00

Please sign in to comment.