Browse Source

on déplace maintenant ecrire/data et CACHE/ dans un nouveau répertoire tmp/ (ainsi, on a plus besoin d'avoir un sous-répertoire de _DIR_RESTREINT en écriture. Il y a encore du travail : le répertoire upload/, le cache des vignettes et sans doute mieux gérer ce répertoire tmp/ ...

svn/root/tags/spip-1.9.2f
James 15 years ago
parent
commit
de16b23259
  1. 1
      .gitattributes
  2. 20
      .gitignore
  3. 12
      ecrire/inc_version.php
  4. 0
      tmp/CACHE/remove.txt
  5. 0
      tmp/data/remove.txt
  6. 3
      tmp/remove.txt

1
.gitattributes

@ -525,4 +525,5 @@ ecrire/xml/rss.php -text
/index.php -text
/rien.gif -text
/spip.php -text
tmp/remove.txt -text
/win_png.htc -text

20
.gitignore

@ -1,6 +1,3 @@
CACHE/?
CACHE/lang_*
CACHE/skel_*
IMG/artoff*
IMG/arton*
IMG/autoff*
@ -15,12 +12,15 @@ IMG/rubon*
IMG/siteoff*
IMG/siteon*
IMG/test_*
ecrire/data/.htaccess
ecrire/data/.htpasswd
ecrire/data/.htpasswd-admin
ecrire/data/.index
ecrire/data/inc_meta_cache.php3
ecrire/data/session_*
ecrire/data/spip.log*
ecrire/inc_connect.php3
ecrire/inc_meta_cache.php3
tmp/CACHE/?
tmp/CACHE/lang_*
tmp/CACHE/skel_*
tmp/data/.htaccess
tmp/data/.htpasswd
tmp/data/.htpasswd-admin
tmp/data/.index
tmp/data/inc_meta_cache.php3
tmp/data/session_*
tmp/data/spip.log*

12
ecrire/inc_version.php

@ -270,15 +270,15 @@ function spip_initialisation_parametree($dir1, $dir2) {
define('_DIR_IMG', $dir1 ."IMG/");
define('_DIR_DOC', $dir1 ."IMG/");
define('_DIR_LOGOS', $dir1 ."IMG/");
define('_DIR_CACHE', $dir1 ."CACHE/");
define('_DIR_SKELS', $dir1 ."CACHE/skel/");
define('_DIR_CACHE', $dir1 ."tmp/CACHE/");
define('_DIR_SKELS', $dir1 ."tmp/CACHE/skel/");
define('_DIR_PLUGINS', $dir1 . "plugins/");
define('_DIR_CONFIG', $dir1 . "config/");
define('_DIR_TMP', $dir2 . "data/");
define('_DIR_DUMP', $dir2 . "data/");
define('_DIR_SESSIONS', $dir2 . "data/");
define('_DIR_TMP', $dir1 . "tmp/");
define('_DIR_DUMP', $dir1 . "tmp/data/");
define('_DIR_SESSIONS', $dir1 . "tmp/data/");
define('_DIR_TRANSFERT', $dir2 . "upload/");
// les fichiers qu'on y met, entre autres
@ -301,7 +301,7 @@ function spip_initialisation_parametree($dir1, $dir2) {
: false))));
if (!isset($GLOBALS['test_dirs']))
$GLOBALS['test_dirs'] = array(_DIR_CACHE, _DIR_IMG, _DIR_TMP);
$GLOBALS['test_dirs'] = array(_DIR_IMG, _DIR_TMP);
}
//

0
CACHE/remove.txt → tmp/CACHE/remove.txt

0
ecrire/data/remove.txt → tmp/data/remove.txt

3
tmp/remove.txt

@ -0,0 +1,3 @@
Vous pouvez effacer ce fichier sans dommages.
You can safely remove this file.
Loading…
Cancel
Save