From e3143d210800f4e51f6fb6da83881139d04f01d7 Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Tue, 16 Jan 2018 15:49:40 +0100
Subject: [PATCH] Refactor correggo i nomi delle classi e le imposto nel autoloader
---
src/UploadFile/SetupUpload.class.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/UploadFile/SetupUpload.class.php b/src/UploadFile/SetupUpload.class.php
index fed2bed..a143a0c 100644
--- a/src/UploadFile/SetupUpload.class.php
+++ b/src/UploadFile/SetupUpload.class.php
@@ -214,13 +214,13 @@
//validazione
if (strlen(trim($strSize)) === 0) {
//una stringa vuota non può essere convertita
- throw new UploadFile_Exc();
+ throw new Upload_Exc_Error();
} elseif (strlen(trim($strValue)) === 0) {
//se non trovo la parte del valore della stringa non posso convertire
- throw new UploadFile_Exc();
+ throw new Upload_Exc_Error();
} elseif (strlen($strUnit) >= 1 && !array_key_exists($strUnit, $Units)) {
//l'unita' non e' nota
- throw new UploadFile_Exc();
+ throw new Upload_Exc_Error();
}
$Exponent = isset($Units[$strUnit]) ? $Units[$strUnit] : 0;
--
Gitblit v1.8.0