DDserverWeb_ini.php.in 1.21 KB
<?php
/**
*  @file DDserverWeb_ini.php
*  @version $Id: DDserverWeb_ini.php,v 1.4 2013/04/09 09:07:39 benjamin Exp $
*  @brief All necessary SETUP for DD WebServices
*
*/

/* MAIN DEFINITIONS SHOULD BE MODIFIED!!!!!! */

  define("rootAlias", "@DDSERVICE_URL@");
 // define("DDLIBHOME","/home/budnik/AMDANEW/DDLIB");
  define("DDLIB", "@DDCLIENTLIB_DIR@");
   
  putenv("LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:".DDLIB);
 
/* Compound Definitions: Nothing to modify */

   define("rootDir", "@DDBASEPATH@");
   define("baseDir", "@DDBASEDATA@");
   define("extBaseDir", "@DDBASEINFO@");
   define ("userMgrDir", "@USERMANAGER@");
//   define("extBaseXml", "Bases.xml");
     
  define("webAlias", rootAlias."/DATA/");
  define("extWebAlias", rootAlias."/INFO/");
  define("DDBASEBIN", "@CMAKE_INSTALL_PREFIX@/bin");

// Errors 
  define("UNKNOWNBASEID","UNKNOWNBASEID");
  define("OUTOFTIME","OUTOFTIME");
  define("NODATASET","NODATASET");
  define("NOEXTERNALBASES","NOEXTERNALBASES");
  define("NOEXTERNALDATA","NOEXTERNALDATA");
  define("NOLOCALDATA","NOLOCALDATA");
  define("NOUSERGROUPSSPECIFIED","NOUSERGROUPSSPECIFIED");

// A private key use to check if a request comes from a trust client
  define("PRIVATEKEY","!%p856Dc");

?>