my_config.template.php 1.58 KB
<?php
/**
 * @file my_config.php
 * @version $Id: my_config.php 2372 2014-05-21 09:38:38Z myriam $
 *
 */

//This is a template file.
//Copy this file in php/my_config.php and replace all placeholders (included between "{:" and ":}" flags) by your own values

//Path to AMDA_Integration base dir
define('INTEGRATION_BASE_PATH', '{:INTEGRATION_BASE_PATH:}');
//DD WebServices
define('DDSERVICE', '{:DDSERVICE:}');
// User apache
define('APACHE_USER', '{:APACHE_USER:}');
// Alias for name of AMDA
define('APACHE_ALIAS', '{:APACHE_ALIAS:}'); // APACHE_ALIAS with TWO slashes "/AMDA/" or ONE slash  "/"
//email to send errors from AmdaUpdate/AmdaInstall
define('email', '{:email:}');
//IHM title
define('TITLE', '{:TITLE:}');
// real upload_max_filesize is defined in /etc/php.ini : ini_get('upload_max_filesize')
// here for additional flexibility
define('MAX_UPLOADED_FILESIZE',{:MAX_UPLOADED_FILESIZE:}); // in bytes !!!

// To define only if current AMDA installation is behind proxy
define('GATEWAY_TIMEOUT','{:GATEWAY_TIMEOUT:}');

// To define only if you are behind a proxy
define('PROXY_HOST','{:PROXY_HOST:}');
define('PROXY_USERPWD','{:PROXY_USERPWD:}');

define('NEWMETA', '{:NEWMETA:}');
define('AMDA_SPASE_INTERFACE', '{:AMDA_SPASE_INTERFACE:}');
define('AMDAINTERNALDIR', '{:AMDAINTERNALDIR:}');

define('REST_API_URL', '{:REST_API_URL:}');
define('API_DOC_PATH', '{:API_DOC_PATH:}');

define('DDSERVICE_PRIVATEKEY', '{:DDSERVICE_PRIVATEKEY:}');
define('DDSERVICE_PUBLICKEY', '{:DDSERVICE_PUBLICKEY:}');

// Show log in browser console about execution time for a request
// define('LOG_EXEC_TIME', FALSE);
?>