Closed pdrillin closed 3 years ago
After some more thinking, I think:
try catch
in the controler, but in the search class, method getData
$e->getMessage()
as it could contain sensitive information about the databaseSELECT column_name
FROM information_schema.columns
WHERE table_schema = 'pgmetadata'
AND table_name = 'glossary'
AND column_name LIKE 'label_%';
If no line is return, use the get_hml_default
, if some lines are returned, use the new get_html