From 4873117ec6aeb86ef169cbf8750123ca24041cdf Mon Sep 17 00:00:00 2001 From: polo Date: Mon, 28 Mar 2022 03:45:38 +0200 Subject: upload gros zip AJAX --- dependances.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dependances.php') diff --git a/dependances.php b/dependances.php index cd42e3f..216b639 100644 --- a/dependances.php +++ b/dependances.php @@ -54,7 +54,7 @@ $maxWeight = ini_get('upload_max_filesize'); // les fichiers un par un quand un zip est trop grand // conversion des mégas en octets -/*function return_bytes ($size_str) +function return_bytes ($size_str) { switch (substr ($size_str, -1)) { @@ -63,5 +63,5 @@ $maxWeight = ini_get('upload_max_filesize'); case 'G': case 'g': return (int)$size_str * 1073741824; default: return $size_str; } -}*/ -/*$maxWeight = return_bytes(ini_get('upload_max_filesize'));*/ +} +$maxWeight = return_bytes(ini_get('upload_max_filesize')); -- cgit v1.2.3