From de33a58fdd96b6045efeacde90848dc9fb57c1aa Mon Sep 17 00:00:00 2001
From: Michael Klier <chi@chimeric.de>
Date: Wed, 27 Feb 2008 22:56:40 +0100
Subject: [PATCH] introducing the new tmp dir

darcs-hash:20080227215640-23886-606fc55ada5d6c3c80f14967746ec6aa0a4b3321.gz
---
 inc/init.php | 3 ++-
 install.php  | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/inc/init.php b/inc/init.php
index 22959cf16..d730ca76c 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -157,7 +157,8 @@ function init_paths(){
                  'metadir'   => 'meta',
                  'cachedir'  => 'cache',
                  'indexdir'  => 'index',
-                 'lockdir'   => 'locks');
+                 'lockdir'   => 'locks',
+                 'tmpdir'    => 'tmp');
 
   foreach($paths as $c => $p){
     if(empty($conf[$c]))  $conf[$c] = $conf['savedir'].'/'.$p;
diff --git a/install.php b/install.php
index bf8bccea2..3c0eb604e 100644
--- a/install.php
+++ b/install.php
@@ -396,6 +396,7 @@ function check_permissions(){
         'cache'     => DOKU_INC.'data/cache',
         'locks'     => DOKU_INC.'data/locks',
         'index'     => DOKU_INC.'data/index',
+        'tmp'       => DOKU_INC.'data/tmp'
     );
 
     $ok = true;
-- 
GitLab