mirror of
https://github.com/webmin/webmin.git
synced 2026-03-01 00:42:29 +00:00
Fix to use /var/tmpas default temp dir instead of /var/cache (not rw by user)
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
This commit is contained in:
@@ -450,11 +450,9 @@ sub default_webmin_temp_dir
|
||||
{
|
||||
return -d "c:/temp"
|
||||
? "c:/temp"
|
||||
: -d "/var/cache"
|
||||
? "/var/cache/webmin"
|
||||
: -d "/var/tmp"
|
||||
? "/var/tmp/webmin"
|
||||
: "/tmp/.webmin";
|
||||
: -d "/var/tmp"
|
||||
? "/var/tmp/.webmin"
|
||||
: "/tmp/.webmin";
|
||||
}
|
||||
|
||||
=head2 tempname_dir()
|
||||
|
||||
Reference in New Issue
Block a user