From aea694ec095e073829030eca1503fe32049ffe42 Mon Sep 17 00:00:00 2001 From: sembrestels Date: Thu, 13 Oct 2011 16:02:17 +0200 Subject: Changed paths from lib/dokuwiki to vendors/dokuwiki --- start.php | 4 ++-- views/default/dokuwiki/index.php | 3 +-- 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 @@ 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); ?> -- cgit v1.2.3