aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--start.php4
-rw-r--r--views/default/dokuwiki/index.php3
2 files changed, 3 insertions, 4 deletions
diff --git a/start.php b/start.php
index ae5475e24..2dfe4b7e0 100644
--- a/start.php
+++ b/start.php
@@ -62,7 +62,7 @@ function dokuwiki_init(){
elgg_set_context("dokuwiki");
- $dokuwiki_path = elgg_get_plugins_path().'dokuwiki/lib/dokuwiki/';
+ $dokuwiki_path = elgg_get_plugins_path().'dokuwiki/vendors/dokuwiki/';
$doku = current_dokuwiki_entity();
if (!$doku) // can fail if there is no user and wiki doesnt exist
forward();
@@ -96,7 +96,7 @@ function dokuwiki_init(){
define('DOKU_URL', elgg_get_site_url().'dokuwiki/');
}
define('DOKU_INC', $dokuwiki_path);
- define('DOKU_MEDIA', elgg_get_site_url().'mod/dokuwiki/lib/dokuwiki/');
+ define('DOKU_MEDIA', elgg_get_site_url().'mod/dokuwiki/vendors/dokuwiki/');
define('DOKU_CONF', $dokuwiki_path."conf/");
dokuwiki_create_datafolder($data_path);
diff --git a/views/default/dokuwiki/index.php b/views/default/dokuwiki/index.php
index dd20235dd..e1c1120f8 100644
--- a/views/default/dokuwiki/index.php
+++ b/views/default/dokuwiki/index.php
@@ -1,7 +1,6 @@
<?php
global $CONFIG;
- //error_log("DOKUWIKI_OPEN:".$CONFIG->pluginspath.'dokuwiki/lib/dokuwiki/'.$vars['page']);
- $destfile = $CONFIG->pluginspath.'dokuwiki/lib/dokuwiki/'.$vars['page'];
+ $destfile = $CONFIG->pluginspath.'dokuwiki/vendors/dokuwiki/'.$vars['page'];
if (file_exists($destfile))
include($destfile);
?>