Change 755 to 0755

This commit is contained in:
Michael RICOIS 2017-09-28 16:56:07 +02:00
parent 2ad42ce8bb
commit f53e040741

View File

@ -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;