diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-11 16:55:50 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-11 17:06:20 +0200 |
commit | 7667c367033b15582cf383da62446f78e66a59ef (patch) | |
tree | 5349427aa43070dd603802f68963b30c1c544232 /pkgs/webapps/spip/spip_mes_options.php | |
parent | c890321db12036be69ebbece202984874b1e5a57 (diff) | |
download | Nix-7667c367033b15582cf383da62446f78e66a59ef.tar.gz Nix-7667c367033b15582cf383da62446f78e66a59ef.tar.zst Nix-7667c367033b15582cf383da62446f78e66a59ef.zip |
Move spip and chloe website to pkgs
Diffstat (limited to 'pkgs/webapps/spip/spip_mes_options.php')
-rw-r--r-- | pkgs/webapps/spip/spip_mes_options.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/webapps/spip/spip_mes_options.php b/pkgs/webapps/spip/spip_mes_options.php new file mode 100644 index 0000000..8db8389 --- /dev/null +++ b/pkgs/webapps/spip/spip_mes_options.php | |||
@@ -0,0 +1,18 @@ | |||
1 | <?php // /!\ Important: There must be no blank space before <?php or after ?> | ||
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 | ?> | ||