Change 755 to 0755
This commit is contained in:
parent
2ad42ce8bb
commit
f53e040741
@ -34,7 +34,7 @@ class AntadisConfiguratorUploadModuleFrontController extends ModuleFrontControll
|
|||||||
|
|
||||||
$path = _PS_UPLOAD_DIR_.'simu/'.$id_product.'/'.$reference;
|
$path = _PS_UPLOAD_DIR_.'simu/'.$id_product.'/'.$reference;
|
||||||
if(!file_exists($path)) {
|
if(!file_exists($path)) {
|
||||||
mkdir($path, 755, true);
|
mkdir($path, 0755, true);
|
||||||
}
|
}
|
||||||
$url = _PS_BASE_URL_.'/upload/simu/'.$id_product.'/'.$reference;
|
$url = _PS_BASE_URL_.'/upload/simu/'.$id_product.'/'.$reference;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user