2017-09-22 11:18:44 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Rimozione file e cartelle deprecati
|
|
|
|
*/
|
|
|
|
|
|
|
|
// File e cartelle deprecate
|
|
|
|
$files = [
|
2018-02-14 12:27:57 +01:00
|
|
|
'ajax_autocomplete.php',
|
|
|
|
'assets/dist/viewerjs',
|
|
|
|
'assets/dist/js/adapters',
|
|
|
|
'assets/dist/js/lang',
|
|
|
|
'assets/dist/js/skins',
|
|
|
|
'assets/dist/js/ckeditor.js',
|
|
|
|
'assets/dist/js/styles.js',
|
|
|
|
'lib/actions.php',
|
|
|
|
'lib/htmlbuilder.php',
|
|
|
|
'lib/modulebuilder.php',
|
|
|
|
'lib/permissions_check.php',
|
|
|
|
'lib/user_check.php',
|
2018-02-22 12:35:22 +01:00
|
|
|
'src/Widgets.php',
|
2017-09-22 11:18:44 +02:00
|
|
|
'templates/fatture_accompagnatorie/fattura_body.html',
|
|
|
|
'templates/fatture_accompagnatorie/fattura.html',
|
|
|
|
'templates/fatture_accompagnatorie/pdfgen.fatture_accompagnatorie.php',
|
|
|
|
'templates/fatture_accompagnatorie/logo_azienda.jpg',
|
|
|
|
'templates/riepilogo_contratti/contratto_body.html',
|
|
|
|
'templates/riepilogo_contratti/contratto.html',
|
|
|
|
'templates/riepilogo_contratti/pdfgen.riepilogo_contratti.php',
|
|
|
|
'templates/riepilogo_contratti/logo_azienda.jpg',
|
|
|
|
];
|
|
|
|
|
|
|
|
foreach ($files as $key => $value) {
|
2020-08-25 18:24:03 +02:00
|
|
|
$files[$key] = realpath(DOCROOT.'/'.$value);
|
2017-09-22 11:18:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
delete($files);
|