tons of fixes and/or simplifications.
[platal.git] / hooks / wiki.inc.php
index de52f3e..b131f24 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2004 Polytechnique.org                              *
+ *  Copyright (C) 2003-2006 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -27,6 +27,7 @@ class WikiConfig
 {
     var $mwiki_enable   = true;
     var $wikidir       = "";
+    var $workdir        = "wiki.d";
 }
 
 // }}}
@@ -38,17 +39,5 @@ function wiki_config()
 }
 
 // }}}
-// {{{ menu HOOK
-
-
-function wiki_menu()
-{
-    global $globals;
-    if ($globals->wiki->wiki_enable) {
-//        $globals->menu->addPrivateEntry(XOM_INFORMATIONS, 40, 'Documentations', 'wiki.php/Docs');
-    }
-}
-
-// }}}
 
 ?>