Fix per province caricate a gestionale in minuscolo
This commit is contained in:
parent
7132543d4c
commit
57f2019384
|
@ -77,12 +77,13 @@ class FileManager implements ManagerInterface
|
|||
</tr>';
|
||||
|
||||
foreach ($rs as $r) {
|
||||
$extension = pathinfo($r['original'])['extension'];
|
||||
$result .= '
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="'.ROOTDIR.'/'.$directory.'/'.$r['filename'].'" target="_blank">
|
||||
<i class="fa fa-external-link"></i> '.$r['name'].'
|
||||
</a>
|
||||
</a> ('.$extension.')'.'
|
||||
</td>
|
||||
<td>'.\Translator::timestampToLocale($r['created_at']).'</td>
|
||||
<td class="text-center">
|
||||
|
@ -91,7 +92,6 @@ class FileManager implements ManagerInterface
|
|||
</a>';
|
||||
|
||||
// Anteprime supportate dal browser
|
||||
$extension = pathinfo($r['original'])['extension'];
|
||||
$supported_extensions = ['pdf', 'jpg', 'png', 'gif', 'jpeg', 'bmp'];
|
||||
if (in_array(strtolower($extension), $supported_extensions)) {
|
||||
$result .= "
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
//Fix per province caricate a gestionale in minuscolo
|
||||
$dbo->query("UPDATE an_anagrafiche SET provincia=UPPER(provincia)");
|
||||
|
||||
?>
|
Loading…
Reference in New Issue