Line 92... |
Line 92... |
92 |
chdir(".."); |
92 |
chdir(".."); |
93 |
|
93 |
|
94 |
// Delete the directory. Why doesn't PHP have a generic recursive directory |
94 |
// Delete the directory. Why doesn't PHP have a generic recursive directory |
95 |
// deletion command? It's stupid. |
95 |
// deletion command? It's stupid. |
96 |
|
96 |
|
97 |
// if ($config->serverIsWindows) |
97 |
if ($config->serverIsWindows) |
98 |
// { |
98 |
{ |
99 |
// $cmd = quoteCommand("rmdir /S /Q ".quote($tmpname), false); |
99 |
$cmd = quoteCommand("rmdir /S /Q ".quote($tmpname), false); |
100 |
// } |
100 |
} |
101 |
// else |
101 |
else |
102 |
// { |
102 |
{ |
103 |
$cmd = quoteCommand("rm -fr ".quote($tmpname), false); |
103 |
$cmd = quoteCommand("rm -rf ".quote($tmpname), false); |
104 |
// } |
104 |
} |
105 |
|
105 |
|
106 |
@exec($cmd); |
106 |
@exec($cmd); |
107 |
} |
107 |
} |
108 |
?> |
108 |
?> |