Line 19... |
Line 19... |
19 |
// | |
|
19 |
// | |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
24 |
// CVS : $Id: iw_config.inc.php,v 1.5 2005-09-06 08:35:36 ddelon Exp $
|
24 |
// CVS : $Id: iw_config.inc.php,v 1.6 2005-09-09 09:37:17 ddelon Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Configuration de l'intégrateur de page Wikini
|
26 |
* Configuration de l'intégrateur de page Wikini
|
27 |
*
|
27 |
*
|
28 |
* Fichier de configuration de l'intégrateur de page Wikini
|
28 |
* Fichier de configuration de l'intégrateur de page Wikini
|
29 |
*
|
29 |
*
|
Line 32... |
Line 32... |
32 |
//Auteur original :
|
32 |
//Auteur original :
|
33 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
33 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
34 |
//Autres auteurs :
|
34 |
//Autres auteurs :
|
35 |
*@author Aucun
|
35 |
*@author Aucun
|
36 |
*@copyright Tela-Botanica 2000-2004
|
36 |
*@copyright Tela-Botanica 2000-2004
|
37 |
*@version $Revision: 1.5 $ $Date: 2005-09-06 08:35:36 $
|
37 |
*@version $Revision: 1.6 $ $Date: 2005-09-09 09:37:17 $
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
*/
|
39 |
*/
|
Line 40... |
Line 40... |
40 |
|
40 |
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
Line 64... |
Line 64... |
64 |
// TODO : un wiki par défaut pour chaque papyrus à l'installation de Papyrus
|
64 |
// TODO : un wiki par défaut pour chaque papyrus à l'installation de Papyrus
|
65 |
if (!isset($GLOBALS['_GEN_commun']['info_application']->wikini)) {
|
65 |
if (!isset($GLOBALS['_GEN_commun']['info_application']->wikini)) {
|
66 |
$GLOBALS['_GEN_commun']['info_application']->wikini = 'defaut';
|
66 |
$GLOBALS['_GEN_commun']['info_application']->wikini = 'defaut';
|
67 |
}
|
67 |
}
|
Line 68... |
Line -... |
68 |
|
- |
|
69 |
|
68 |
|
Line 70... |
Line 69... |
70 |
$config_wikini = adwi_valeurs_par_code_alpha($GLOBALS['_GEN_commun']['info_application']->wikini,&$GLOBALS['_GEN_commun']['pear_db'] );
|
69 |
$config_wikini = adwi_valeurs_par_code_alpha($GLOBALS['_GEN_commun']['info_application']->wikini,&$GLOBALS['_GEN_commun']['pear_db'] );
|
Line 92... |
Line 91... |
92 |
$config_wikini['table_prefix'] = $GLOBALS['_GEN_commun']['info_application']->wikini.'_';
|
91 |
$config_wikini['table_prefix'] = $GLOBALS['_GEN_commun']['info_application']->wikini.'_';
|
93 |
}
|
92 |
}
|
Line 94... |
Line 93... |
94 |
|
93 |
|
95 |
|
94 |
|
96 |
// Ordre de selection de la page de demarrage :
|
95 |
// Ordre de selection de la page de demarrage :
|
97 |
// Page Specifiee dans le menu
|
96 |
// Page Specifiee dans le menu
|
Line 98... |
Line 97... |
98 |
// Page par defaut du Wiki
|
97 |
// Page par defaut du Wiki enregistré
|
99 |
// PagePrincipale
|
98 |
// PagePrincipale
|
100 |
|
99 |
|
Line 110... |
Line 109... |
110 |
if ((!isset($config_wikini['code_alpha_wikini'])) || (empty($config_wikini['code_alpha_wikini']))) {
|
109 |
if ((!isset($config_wikini['code_alpha_wikini'])) || (empty($config_wikini['code_alpha_wikini']))) {
|
111 |
$config_wikini['code_alpha_wikini'] = $GLOBALS['_GEN_commun']['info_application']->wikini;
|
110 |
$config_wikini['code_alpha_wikini'] = $GLOBALS['_GEN_commun']['info_application']->wikini;
|
112 |
}
|
111 |
}
|
Line 113... |
Line 112... |
113 |
|
112 |
|
- |
|
113 |
/** Constante stockant le chemin du dossier contenant le site Wikini en cours */
|
- |
|
114 |
|
114 |
/** Constante stockant le chemin du dossier contenant le site Wikini en cours */
|
115 |
/** Utilité ? **/
|
115 |
if ((!isset($config_wikini['chemin'])) || (empty($config_wikini['chemin']))) {
|
116 |
if ((!isset($config_wikini['chemin'])) || (empty($config_wikini['chemin']))) {
|
116 |
define('IW_CHEMIN_WIKINI_COURANT', GEN_CHEMIN_WIKINI.$config_wikini['code_alpha_wikini'].GEN_SEP);
|
117 |
define('IW_CHEMIN_WIKINI_COURANT', GEN_CHEMIN_WIKINI.$config_wikini['code_alpha_wikini'].GEN_SEP);
|
117 |
}
|
118 |
}
|
118 |
else {
|
119 |
else {
|
Line 125... |
Line 126... |
125 |
global $wikini_config_defaut;
|
126 |
global $wikini_config_defaut;
|
Line 126... |
Line 127... |
126 |
|
127 |
|
127 |
$wikini_config_defaut = array(
|
128 |
$wikini_config_defaut = array(
|
128 |
"wakka_version" => "0.1.1",
|
129 |
"wakka_version" => "0.1.1",
|
129 |
"wikini_version" => "0.4.3",
|
- |
|
130 |
'debug' => 'yes',
|
130 |
"wikini_version" => "0.4.3",
|
131 |
'mysql_host' => $config_wikini['bdd_hote'],
|
131 |
'mysql_host' => $config_wikini['bdd_hote'],
|
132 |
'mysql_database' => $config_wikini['bdd_nom'],
|
132 |
'mysql_database' => $config_wikini['bdd_nom'],
|
133 |
'mysql_user' => $config_wikini['bdd_utilisateur'],
|
133 |
'mysql_user' => $config_wikini['bdd_utilisateur'],
|
134 |
'mysql_password' => $config_wikini['bdd_mdp'],
|
134 |
'mysql_password' => $config_wikini['bdd_mdp'],
|
Line 158... |
Line 158... |
158 |
|
158 |
|
159 |
|
159 |
|
160 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
160 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
161 |
*
|
- |
|
162 |
* $Log: not supported by cvs2svn $
|
- |
|
163 |
* Revision 1.5 2005/09/06 08:35:36 ddelon
|
161 |
*
|
164 |
* Integrateur Wikini et administration des Wikini
|
162 |
* $Log: not supported by cvs2svn $
|
165 |
*
|
163 |
* Revision 1.4 2005/09/02 11:29:25 ddelon
|
166 |
* Revision 1.4 2005/09/02 11:29:25 ddelon
|
164 |
* Integrateur Wikini et administration des Wikini
|
167 |
* Integrateur Wikini et administration des Wikini
|
165 |
*
|
168 |
*
|