mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 04:31:08 -04:00
remove temp directory
This commit is contained in:
@ -40,8 +40,8 @@ class Updater
|
|||||||
// Create temp directory
|
// Create temp directory
|
||||||
$path = 'temp-' . md5(mt_rand());
|
$path = 'temp-' . md5(mt_rand());
|
||||||
$path2 = 'temp2-' . md5(mt_rand());
|
$path2 = 'temp2-' . md5(mt_rand());
|
||||||
$temp_path = storage_path('app/temp') . '/' . $path;
|
$temp_path = storage_path('app') . '/' . $path;
|
||||||
$temp_path2 = storage_path('app/temp') . '/' . $path2;
|
$temp_path2 = storage_path('app') . '/' . $path2;
|
||||||
|
|
||||||
if (!File::isDirectory($temp_path)) {
|
if (!File::isDirectory($temp_path)) {
|
||||||
File::makeDirectory($temp_path);
|
File::makeDirectory($temp_path);
|
||||||
|
|||||||
Reference in New Issue
Block a user