openstamanager/update/2_4.php

37 lines
1.0 KiB
PHP
Raw Normal View History

<?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',
'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) {
$files[$key] = realpath(DOCROOT.'/'.$value);
}
delete($files);