Loading config.php +2 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,8 @@ $options = [ try { $pdo = new PDO($dsn, $user, $pass, $options); } catch (\PDOException $e) { } catch (PDOException $e) { // In un ambiente di produzione, non mostrare l'errore dettagliato all'utente throw new \PDOException($e->getMessage(), (int)$e->getCode()); throw new PDOException($e->getMessage(), (int)$e->getCode()); } ?> Loading
config.php +2 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,8 @@ $options = [ try { $pdo = new PDO($dsn, $user, $pass, $options); } catch (\PDOException $e) { } catch (PDOException $e) { // In un ambiente di produzione, non mostrare l'errore dettagliato all'utente throw new \PDOException($e->getMessage(), (int)$e->getCode()); throw new PDOException($e->getMessage(), (int)$e->getCode()); } ?>