Subversion Repositories Applications.papyrus

Rev

Rev 433 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 433 Rev 434
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.1 2005-08-18 10:19:55 ddelon Exp $
24
// CVS : $Id: iw_config.inc.php,v 1.2 2005-08-25 08:59:12 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.1 $ $Date: 2005-08-18 10:19:55 $
37
*@version       $Revision: 1.2 $ $Date: 2005-08-25 08:59:12 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
Line 40... Line 40...
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
Line 90... Line 90...
90
    $GLOBALS['_GEN_commun']['info_application']->wikini_nom = '';
90
    $GLOBALS['_GEN_commun']['info_application']->wikini_nom = '';
91
}
91
}
92
/** Constantes de connexion aux bases de données MySQL*/
92
/** Constantes de connexion aux bases de données MySQL*/
93
global $wikini_config_defaut;
93
global $wikini_config_defaut;
94
$wikini_config_defaut = array(
94
$wikini_config_defaut = array(
95
    'wakka_version'         => '',
95
    "wakka_version" => "0.1.1",
-
 
96
	"wikini_version" => "0.4.3",
96
    'debug'                 => 'yes',
97
    'debug'                 => 'yes',
97
    'mysql_host'            => HOTE,
98
    'mysql_host'            => HOTE,
98
    'mysql_database'        => BD_WIKINI,
99
    'mysql_database'        => BD_WIKINI,
99
    'mysql_user'            => UTILISATEUR,
100
    'mysql_user'            => UTILISATEUR,
100
    'mysql_password'        => MDP,
101
    'mysql_password'        => MDP,
101
    'table_prefix'          => $GLOBALS['_GEN_commun']['info_application']->table_prefix,
102
    'table_prefix'          => $GLOBALS['_GEN_commun']['info_application']->table_prefix,
102
    'root_page'             => $GLOBALS['_GEN_commun']['info_application']->page,
103
    'root_page'             => $GLOBALS['_GEN_commun']['info_application']->page,
103
    'wakka_name'            => $GLOBALS['_GEN_commun']['info_application']->wikini_nom,
104
    'wakka_name'            => $GLOBALS['_GEN_commun']['info_application']->wikini_nom,
104
    'base_url'              => $GLOBALS['_GEN_commun']['url']->getUrl().'&amp;wiki=',
105
    'base_url'              => str_replace('&amp;', '&', $GLOBALS['_GEN_commun']['url']->getUrl()).'&wiki=',
105
    'rewrite_mode'          => '0',
106
    'rewrite_mode'          => '0',
106
    'meta_keywords'         => '',
107
    'meta_keywords'         => '',
107
    'meta_description'      => '',
108
    'meta_description'      => '',
108
    'action_path'           => IW_CHEMIN_BIBLIO_WIKINI.'actions',
109
    'action_path'           => '/home/david/workspace/papyrus/wikini/wikini_01/actions',
109
    'handler_path'          => IW_CHEMIN_BIBLIO_WIKINI.'handlers',
110
    'handler_path'          => '/home/david/workspace/papyrus/wikini/wikini_01/handlers',
110
    'formatters_path'       => IW_CHEMIN_BIBLIO_WIKINI.'formatters',
111
    'formatters_path'       => '/home/david/workspace/papyrus/wikini/wikini_01/formatters',
111
    'interwiki_path'        => IW_CHEMIN_BIBLIO_WIKINI,
-
 
112
    'header_action'         => 'header',
112
    'header_action'         => 'header',
113
    'footer_action'         => 'footer',
113
    'footer_action'         => 'footer',
114
    'navigation_links'      => 'DerniersChangements :: DerniersCommentaires :: ParametresUtilisateur',
114
    'navigation_links'      => 'DerniersChangements :: DerniersCommentaires :: ParametresUtilisateur',
115
    'referrers_purge_time'  => 24,
115
    'referrers_purge_time'  => 24,
116
    'pages_purge_time'      => 90,
116
    'pages_purge_time'      => 90,
117
    'default_write_acl'     => '*',
117
    'default_write_acl'     => '*',
118
    'default_read_acl'      => '*',
118
    'default_read_acl'      => '*',
119
    'default_comment_acl'   => '*',
119
    'default_comment_acl'   => '*',
120
    'preview_before_save'   => '0');
120
    'preview_before_save'   => '0');
121
 
121
    
122
// +------------------------------------------------------------------------------------------------------+
122
// +------------------------------------------------------------------------------------------------------+
123
// |                                            PIED du PROGRAMME                                         |
123
// |                                            PIED du PROGRAMME                                         |
124
// +------------------------------------------------------------------------------------------------------+
124
// +------------------------------------------------------------------------------------------------------+