X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fagendav%2Fconfig.php;fp=etc%2Fagendav%2Fconfig.php;h=232d7087c57afd34e2c4c39d426bca1160ba601f;hb=4c216fb47bedd24a42050713987b014993092a8d;hp=0709de5379249cd82433540f691e2a3e008d38c8;hpb=ebec46670cf3bae632bdcaa8782618d31cc518cf;p=lhc%2Fateliers.git 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'