diff --git a/templates/info.php b/templates/info.php index e1187cac8..1c400fecf 100644 --- a/templates/info.php +++ b/templates/info.php @@ -96,6 +96,7 @@ $default_footer = include $footer_file; $default_logo = App::filepath('templates/base|custom|/logo_azienda.jpg'); // Logo generico +if (!empty(Settings::get('Logo stampe'))) $custom_logo = App::filepath('files/anagrafiche/'.Settings::get('Logo stampe')); // Logo specifico della stampa diff --git a/update/2_3.sql b/update/2_3.sql index 865b106f0..9558657d5 100644 --- a/update/2_3.sql +++ b/update/2_3.sql @@ -10,7 +10,7 @@ ALTER TABLE `zz_gruppi_modules` RENAME `zz_group_module`; ALTER TABLE `zz_settings` CHANGE `valore` `valore` text NOT NULL; --- Rinominazione del'attributo module_dir in directory +-- Ridenominazione dell'attributo module_dir in directory ALTER TABLE `zz_modules` CHANGE `module_dir` `directory` varchar(50) NOT NULL, CHANGE `name2` `title` varchar(255) NOT NULL, DROP `type`, DROP `new`; UPDATE `zz_modules` SET `name` = REPLACE(`name`, 'à', 'à'), `title` = REPLACE(`title`, 'à', 'à');