"Fossies" - the Fresh Open Source Software Archive

Member "z-push/config.php" (2 Aug 2013, 4895 Bytes) of package /linux/www/old/group-e_z-push_v3.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "config.php" see the Fossies "Dox" file reference documentation.

    1 <?php
    2 /***********************************************
    3 * File      :   config.php
    4 * Project   :   Z-Push
    5 * Descr     :   Main configuration file
    6 *
    7 * Created   :   01.10.2007
    8 *
    9 * � Zarafa Deutschland GmbH, www.zarafaserver.de
   10 * This file is distributed under GPL v2.
   11 * Consult LICENSE file for details
   12 ************************************************/
   13     // Defines the default time zone
   14     if (function_exists("date_default_timezone_set")){
   15         date_default_timezone_set("Europe/Berlin");
   16     }
   17 
   18     // Defines the base path on the server, terminated by a slash
   19     define('BASE_PATH', dirname($_SERVER['SCRIPT_FILENAME']) . "/");
   20 
   21     // Define the include paths
   22     ini_set('include_path',
   23                         BASE_PATH. "include/" . PATH_SEPARATOR .
   24                         BASE_PATH. PATH_SEPARATOR .
   25                         ini_get('include_path') . PATH_SEPARATOR .
   26                         "/usr/share/php/" . PATH_SEPARATOR .
   27                         "/usr/share/php5/" . PATH_SEPARATOR .
   28                         "/usr/share/pear/");
   29 
   30     // DEPRECIATED USE STATE_PATH! only defined for compatibility
   31     define('STATE_DIR', 'state');
   32 
   33     // Which folder should be used to store the state information
   34     define('STATE_PATH', BASE_PATH.'state');
   35     if (!file_exists(STATE_PATH))   {
   36         mkdir(STATE_PATH,0700,true);
   37     }
   38 
   39 
   40     // Try to set unlimited timeout
   41     define('SCRIPT_TIMEOUT', 3540+600);
   42 
   43     //Max size of attachments to display inline. Default is 1MB
   44     define('MAX_EMBEDDED_SIZE', 1048576);
   45 
   46     // Device Provisioning 
   47     define('PROVISIONING', true); 
   48 
   49     // Should UPN be separated for Login Username
   50     define('SEPARATE_UPN', false);
   51 
   52     // This option allows the 'loose enforcement' of the provisioning policies for older 
   53     // devices which don't support provisioning (like WM 5 and HTC Android Mail) - dw2412 contribution
   54     // false (default) - Enforce provisioning for all devices
   55     // true - allow older devices, but enforce policies on devices which support it  
   56     define('LOOSE_PROVISIONING', true); 
   57 
   58     // Palm Pre AS2.5 PoomTasks:RTF Fix
   59     define('ENABLE_PALM_PRE_AS25_CONTACT_FIX',true);
   60 
   61     // Switch of imtoinet because of segfaults
   62     define('ICS_IMTOINET_SEGFAULT',true);
   63 
   64     // Defines the charset used in Backend. AirSync charset is UTF-8!
   65     // Leave as is in case you use default Zarafa Server. 
   66     // In case your Backend needs another value just adapt it.
   67     define('BACKEND_CHARSET','utf-8');
   68 
   69     // Default conflict preference
   70     // Some devices allow to set if the server or PIM (mobile) 
   71     // should win in case of a synchronization conflict
   72     //   SYNC_CONFLICT_OVERWRITE_SERVER - Server is overwritten, PIM wins
   73     //   SYNC_CONFLICT_OVERWRITE_PIM    - PIM is overwritten, Server wins (default)
   74     define('SYNC_CONFLICT_DEFAULT', SYNC_CONFLICT_OVERWRITE_PIM);
   75 
   76     // In case Function Overload is being detect for mbstring functions we set the define
   77     // to the overload level so that we can handle binary data propper...
   78     define('MBSTRING_OVERLOAD', (extension_loaded('mbstring') ? ini_get('mbstring.func_overload') : false));
   79 
   80     // For verification of SSL Certificates please define where to call the openssl binary
   81     define('VERIFYCERT_SSLBIN',"/usr/bin/openssl");
   82     // For verification of SSL Certificates please define where the Certificate Store is being located
   83     define('VERIFYCERT_CERTSTORE',"crtstore/");
   84     // For verification of SSL Certificates please define where to store temporary files
   85     define('VERIFYCERT_TEMP',"tmp/");
   86 
   87     // You should only use this as last resort in case you're using i.e. IMAP Backend and don't see any other chance to get 
   88     // emails sent without your webserver user being mentioned as the one that sends email representing your name
   89     // This is the server, set either DNS Name/IP Address and set IMAP_USE_IMAPMAIL to false to active this function
   90     // In case you need SSL/TLS prepend ssl:// or tls:// at the Servername define
   91     define('INTERNAL_SMTPCLIENT_SERVERNAME','127.0.0.1');
   92     define('INTERNAL_SMTPCLIENT_SERVERPORT','25');
   93     define('INTERNAL_SMTPCLIENT_CONNECTTIMEOUT',25);
   94     define('INTERNAL_SMTPCLIENT_SOCKETTIMEOUT',5);
   95     define('INTERNAL_SMTPCLIENT_MAILDOMAIN','');
   96     // Set this in case your mailserver requires authentication
   97     define('INTERNAL_SMTPCLIENT_USERNAME','');
   98     define('INTERNAL_SMTPCLIENT_PASSWORD','');
   99     
  100     
  101     //Timeout for push
  102     define('PING_TIMEOUT', 30);
  103 
  104     // The data providers that we are using (see configuration below)
  105     $BACKEND_PROVIDER = "BackendGroupe";
  106 
  107     // **********************
  108     //  BackendGroupe settings
  109     // **********************
  110     //Change this only if Group-E is on another domain then activeSync.
  111     define('GROUP_URL_DOMAIN',''); // for example 'http://www.example.com'
  112     //The path to Group-E soap script (its appendet to the GROUP_URL_DOMAIN)
  113     define('GROUP_URL_PATH','/soap.php'); //for example '/group-e/soap.php'
  114 
  115 
  116 ?>