Switched to neutral /root as the virtual file system!

This commit is contained in:
2025-06-20 19:19:58 +02:00
parent 39b43fef75
commit 0d3ee0a0eb
7 changed files with 10 additions and 10 deletions

View File

@ -15,10 +15,10 @@ if (!preg_match('/^https:\/\/surillya\.com\//', $url)) {
$verified = 0;
}
$targetPath = '/home/surillya/.temp/' . basename($output);
$targetPath = '/root/.temp/' . basename($output);
if (!is_dir("/home/surillya/.temp/")){
if (!mkdir("/home/surillya/.temp/", 0755, true)){
if (!is_dir("/root/.temp/")){
if (!mkdir("/root/.temp/", 0755, true)){
fail("Failed to create temporary download directory.");
}
}