From 4c216fb47bedd24a42050713987b014993092a8d Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Sat, 25 May 2013 17:19:47 +0200 Subject: [PATCH] Ajout : agendav.cyclocoop.org : logo. --- etc/agendav/config.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/etc/agendav/config.php b/etc/agendav/config.php index 0709de5..232d708 100755 --- a/etc/agendav/config.php +++ b/etc/agendav/config.php @@ -50,7 +50,18 @@ $config['format_title_month'] = 'MMMM yyyy'; $config['format_title_table'] = 'dddd, MMM d yyyy'; $config['format_title_week'] = "MMM d[ yyyy]{ '—'[ MMM] d yyyy}"; $config['log_path'] = '/home/www/log/php5/fpm/agendav/'; -$config['logo'] = 'agendav_100transp.png'; +if (file_exists("/home/www/pub/agendav/web/public/img/logo-$http_host.png")) { + $config['logo'] = "logo-$http_host.png"; + } +else { + $config['logo'] = 'agendav_100transp.png'; + } +if (file_exists("/home/www/pub/agendav/web/public/img/logo-login-$http_host.png")) { + $config['login_page_logo'] = "logo-login-$http_host.png"; + } +else { + $config['login_page_logo'] = "agendav_300transp.png"; + } $config['logout_redirect_to'] = ''; $config['proxy_ips'] = ''; $config['show_in_log']= array('ERROR', 'INFO', 'AUTHERR', 'AUTHOK'); # , 'INTERNALS', 'DEBUG' -- 2.20.1