Use pl_core_include().
[platal.git] / htdocs / xnet.php
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:
 ?>