Modification : nginx root configurable.
[lhc/ateliers.git] / etc / agendav / config.php
index 232d708..262dcb4 100755 (executable)
@@ -1,7 +1,7 @@
 <?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 
-require_once('/home/www/pub/agendav/web/public/../application/config/production/advanced.php');
-require_once('/home/www/pub/agendav/web/public/../application/config/production/defaults.php');
+require_once('/home/www/data/agendav/web/public/../application/config/production/advanced.php');
+require_once('/home/www/data/agendav/web/public/../application/config/production/defaults.php');
 
 $http_host = $_SERVER['HTTP_HOST'];
 if (substr($http_host, 0, strlen("agendav.")) == "agendav.") {
@@ -50,13 +50,13 @@ $config['format_title_month'] = 'MMMM yyyy';
 $config['format_title_table'] = 'dddd, MMM d yyyy';
 $config['format_title_week'] = "MMM d[ yyyy]{ '&#8212;'[ MMM] d yyyy}";
 $config['log_path'] = '/home/www/log/php5/fpm/agendav/';
-if (file_exists("/home/www/pub/agendav/web/public/img/logo-$http_host.png")) {
+if (file_exists("/home/www/data/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")) {
+if (file_exists("/home/www/data/agendav/web/public/img/logo-login-$http_host.png")) {
        $config['login_page_logo'] = "logo-login-$http_host.png";
  }
 else {