From: Julien Moutinho Date: Sat, 25 May 2013 15:19:47 +0000 (+0200) Subject: Ajout : agendav.cyclocoop.org : logo. X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=4c216fb47bedd24a42050713987b014993092a8d Ajout : agendav.cyclocoop.org : logo. --- 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'