aboutsummaryrefslogtreecommitdiff
path: root/virtual/packages/spip_mes_options.php
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-08 00:02:52 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-08 00:13:32 +0100
commit07f2f340ec1356562855342440297b50f8ac6856 (patch)
treecfa0fa60bea1966dd80349d0f2c6deb8c77fbac2 /virtual/packages/spip_mes_options.php
parentbeeed84712249de60e4856cc387d013a5109c95d (diff)
downloadNix-07f2f340ec1356562855342440297b50f8ac6856.tar.gz
Nix-07f2f340ec1356562855342440297b50f8ac6856.tar.zst
Nix-07f2f340ec1356562855342440297b50f8ac6856.zip
Remove tmp from spip links
Diffstat (limited to 'virtual/packages/spip_mes_options.php')
-rw-r--r--virtual/packages/spip_mes_options.php5
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
10spip_initialisation( 11spip_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