Use pl_core_include().
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 27 Jul 2008 22:03:20 +0000 (00:03 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 27 Jul 2008 22:03:20 +0000 (00:03 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
core
htdocs/xnet.php
htdocs/xorg.php

diff --git a/core b/core
index 380e2a5..49ef925 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 380e2a5ab0f7c9edbf73c76259cb0c38119e53af
+Subproject commit 49ef925d77389921d24c72d7e5ff031b0a87baf0
index b1363f0..5847fff 100644 (file)
@@ -31,7 +31,7 @@ if (!($path = Env::v('n')) || substr($path, 0, 4) != 'Xnet') {
 
 /*** WIKI CODE ***/
 
-include dirname(__FILE__) . '/../core/include/wiki.engine.inc.php'; 
+include pl_core_include('wiki.engine.inc.php');
 
 // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
 ?>
index affbb37..1fbce45 100644 (file)
@@ -34,7 +34,7 @@ if (!($path = Env::v('n')) || ($path{0} < 'A' || $path{0} > 'Z')) {
 
 /*** WIKI CODE ***/
 
-include dirname(__FILE__) . '/../core/include/wiki.engine.inc.php';
+include pl_core_include('wiki.engine.inc.php');
 
 // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
 ?>