diff options
Diffstat (limited to 'virtual/packages/spip_mes_options.php')
-rw-r--r-- | virtual/packages/spip_mes_options.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/virtual/packages/spip_mes_options.php b/virtual/packages/spip_mes_options.php index 88ac449..8db8389 100644 --- a/virtual/packages/spip_mes_options.php +++ b/virtual/packages/spip_mes_options.php | |||
@@ -3,14 +3,15 @@ | |||
3 | // http://www.spip.net/fr_article3811.html | 3 | // http://www.spip.net/fr_article3811.html |
4 | 4 | ||
5 | $config_dir = getenv('SPIP_CONFIG_DIR') . '/'; | 5 | $config_dir = getenv('SPIP_CONFIG_DIR') . '/'; |
6 | $var_dir = getenv('SPIP_VAR_DIR') . '/'; | ||
6 | 7 | ||
7 | $cookie_prefix = str_replace('.', '_', $site); | 8 | $cookie_prefix = str_replace('.', '_', getenv("SPIP_SITE")); |
8 | $table_prefix = 'spip'; | 9 | $table_prefix = 'spip'; |
9 | 10 | ||
10 | spip_initialisation( | 11 | spip_initialisation( |
11 | $config_dir, | 12 | $config_dir, |
12 | _DIR_RACINE . _NOM_PERMANENTS_ACCESSIBLES, | 13 | _DIR_RACINE . _NOM_PERMANENTS_ACCESSIBLES, |
13 | _DIR_RACINE . _NOM_TEMPORAIRES_INACCESSIBLES, | 14 | $var_dir . _NOM_TEMPORAIRES_INACCESSIBLES, |
14 | _DIR_RACINE . _NOM_TEMPORAIRES_ACCESSIBLES | 15 | _DIR_RACINE . _NOM_TEMPORAIRES_ACCESSIBLES |
15 | ); | 16 | ); |
16 | 17 | ||