Fix $docroot negli aggiornamenti

This commit is contained in:
Thomas Zilio 2018-02-14 16:57:09 +01:00
parent 7b29411bdf
commit 57d37edf57
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<?php
if (file_exists($docroot.'/lib/jscripts/fullcalendar.min.js')) {
delete($docroot.'/lib/jscripts/fullcalendar.min.js');
if (file_exists(DOCROOT.'/lib/jscripts/fullcalendar.min.js')) {
delete(DOCROOT.'/lib/jscripts/fullcalendar.min.js');
}
// Riporto su ogni riga della fattura la relativa rivalsa inps e ritenuta d'acconto se impostate

View File

@ -88,8 +88,8 @@ for ($i = 0; $i < sizeof($rs); ++$i) {
// Eliminazione vecchi file
$files = [
$docroot.'/share/themes/default/css/font-awesome.css',
$docroot.'/modules/preventivi/js/'
DOCROOT.'/share/themes/default/css/font-awesome.css',
DOCROOT.'/modules/preventivi/js/',
];
delete($files);