mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Rimozione file deprecato
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
[Nome]
|
||||
tipo = span
|
||||
valore = "Componente di esempio"
|
||||
|
||||
[Marca]
|
||||
tipo = input
|
||||
valore =
|
||||
|
||||
[Tipo]
|
||||
tipo = select
|
||||
valore =
|
||||
opzioni = "Tipo 1", "Tipo 2"
|
||||
|
||||
[Data di installazione]
|
||||
tipo = date
|
||||
valore =
|
||||
|
||||
[Note]
|
||||
tipo = textarea
|
||||
valore =
|
14
update/2_4_47.php
Normal file
14
update/2_4_47.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
// File e cartelle deprecate
|
||||
$files = [
|
||||
'files/impianti/componente.ini',
|
||||
];
|
||||
|
||||
foreach ($files as $key => $value) {
|
||||
$files[$key] = realpath(base_dir().'/'.$value);
|
||||
|
||||
}
|
||||
|
||||
delete($files);
|
||||
?>
|
Reference in New Issue
Block a user