]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/blob - pkgs/webapps/spip/spip_mes_options.php
Initial commit published for NUR
[perso/Immae/Config/Nix/NUR.git] / pkgs / webapps / spip / spip_mes_options.php
1 <?php // /!\ Important: There must be no blank space before &lt;?php or after ?&gt;
2 // This file was inspired from the spip contrib website
3 // http://www.spip.net/fr_article3811.html
4
5 $config_dir = getenv('SPIP_CONFIG_DIR') . '/';
6 $var_dir = getenv('SPIP_VAR_DIR') . '/';
7
8 $cookie_prefix = str_replace('.', '_', getenv("SPIP_SITE"));
9 $table_prefix = 'spip';
10
11 spip_initialisation(
12 $config_dir,
13 _DIR_RACINE . _NOM_PERMANENTS_ACCESSIBLES,
14 $var_dir . _NOM_TEMPORAIRES_INACCESSIBLES,
15 _DIR_RACINE . _NOM_TEMPORAIRES_ACCESSIBLES
16 );
17
18 ?>