Twiggi uses the PHP upload_tmp_dir or a hardcoded path of "/tmp"
for temporary storing uploaded files (for mail attachments
e.g.).
It never tries to use the value of $config["files_dir"] the
admin has configured in twiggi.conf.
But acording to the
comment in twiggi.conf, this should be first choice.
Trivial
patch:
--- twiggi/features/common.inc.php.orig Mon Jun 24
14:20:50 2002
+++ twiggi/features/common.inc.php Mon
Jun 24 14:09:54 2002
@@ -1653,8 +1653,8 @@
Function
GetUploadDir ()
{
GLOBAL $login;
- // system upload
directory
- $upload_tmp_dir =
get_cfg_var("upload_tmp_dir");
+ GLOBAL $config;
+
$upload_tmp_dir = $config["files_dir"];
if ( empty(
$upload_tmp_dir ) ) {$upload_tmp_dir="/tmp";}
// twiggi's
users specific upload directory
$uldir="$upload_tmp_dir/twiggi" ;
Logged In: YES
user_id=837137
I will have a look at it
With kind regards,
Wouter