21,7 → 21,7 |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: iw_integrateur.fonct.php,v 1.16 2006-06-07 22:40:36 ddelon Exp $ |
// CVS : $Id: iw_integrateur.fonct.php,v 1.17 2006-07-04 09:40:49 alexandre_tb Exp $ |
/** |
* Fonctions de l'integrateur de page Wikini |
* |
33,7 → 33,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.16 $ $Date: 2006-06-07 22:40:36 $ |
*@version $Revision: 1.17 $ $Date: 2006-07-04 09:40:49 $ |
* |
// +------------------------------------------------------------------------------------------------------+ |
// | ENTETE du PROGRAMME | |
81,9 → 81,18 |
// TODO : creation des tables par defaut à l'installation d'un wikini |
// TODO : Fusion des fichiers de configuration ? |
|
|
//echo IW_CHEMIN_WIKINI_COURANT.'wakka.php'; |
if (!file_exists(IW_CHEMIN_WIKINI_COURANT.'wakka.php')) { |
if (GEN_DEBOGAGE) { |
$GLOBALS['_GEN_commun']['debogage_info'] .= |
'ERREUR Papyrus : le fichier '.IW_CHEMIN_WIKINI_COURANT.'wakka.php n\'existe pas.<br />'. |
'Identifiant : '. $id_fichier .'<br />'. |
'Ligne n° : '. __LINE__ .'<br />'. |
'Fichier : '. __FILE__; |
} |
return ; |
} |
ob_start(); |
|
include_once IW_CHEMIN_WIKINI_COURANT.'wakka.php'; |
include_once(IW_CHEMIN_WIKINI_COURANT."/formatters/tableaux.php"); |
include_once(IW_CHEMIN_WIKINI_COURANT."/actions/attach.class.php"); |
357,6 → 366,7 |
global $wikini_config_defaut; |
$sortie=''; |
$wakkaConfig = $GLOBALS['wikini_config_defaut']; |
if (!class_exists('Wiki_Papyrus')) return ; |
$wiki = new Wiki_Papyrus($wakkaConfig); |
|
// Suppression des slash. |
409,6 → 419,7 |
global $wikini_config_defaut; |
$sortie=''; |
$wakkaConfig = $GLOBALS['wikini_config_defaut']; |
if (!class_exists ('Wiki_Papyrus')) return ; |
$wiki = new Wiki_Papyrus($wakkaConfig); |
|
if ($GLOBALS['_GEN_commun']['pear_auth']->checkAuth()) { |