mgr_ini.php
2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/**
* @file mgr_ini.php
* @brief All necessary SETUP for DD Data Center Manager
* @version $Id: mgr_ini.php,v 1.1 2013/03/13 08:44:40 budnik Exp $
*/
/* MAIN DEFINITIONS SHOULD BE MODIFIED!!!!!! */
define("rootDir", "/home/budnik/AMDA-NG.core/DDBASE");
define("DDLIBHOME","/opt/local");
define ("DDLIB", DDLIBHOME."/lib");
define('CEFLIB', '/opt/local/lib');
define('CDFLIB', '/opt/local/lib');
define('SYS_LIBS', '/lib:/usr/lib:/usr/local/lib');
/* CDAWeb stuff */
define ("wsdlCDAWEB", "https://cdaweb.sci.gsfc.nasa.gov/WS/jaxrpc?WSDL");
define ("viewID" , "sp_phys");
/* THEMIS stuff */
define ("ThemisDir", "/THEMIS_B1/themisdata/");
/* Compound Definitions: Nothing to modify */
define ("DDBASEBIN", DDLIBHOME."/bin");
define ("DDBASE", rootDir."/DATA/");
define ("DDsys", "DDsys.xml");
define ("INFO_DIR", rootDir."/INFO/");
define ("DICTIONARY_DIR", INFO_DIR."Dictionary/");
define ("XML_BASE_DIR",INFO_DIR."xsl/");
define ("USERS_INFO","AMDA_Users_Info.xml");
define ("USERS_GROUPS","AMDA_Users.xml");
putenv("LD_LIBRARY_PATH=".SYS_LIBS.":".DDLIB.":".CEFLIB.":".CDFLIB);
$old_include_path = set_include_path("./:".DDLIB.":".DDBASEBIN);
define("STDERR", fopen("php://stderr","w"));
define("log_", fopen("log","w"));
define("treeLATMOS", "http://impex.latmos.ipsl.fr/tree.xml");
define("treeSINP", "http://smdc.sinp.msu.ru/impex/SINP_tree.xml"); // official: http://dec1.sinp.msu.ru/~lucymu/paraboloid/SINP_tree.xml
define("treeFMI_HYB", "http://impex-fp7.fmi.fi/ws/Tree_FMI_HYB.xml");
define("treeFMI_GUMICS", "http://impex-fp7.fmi.fi/ws/Tree_FMI_GUMICS.xml");
define("treeLESIA", "http://maser.obspm.fr/IMPExWS/tree_Mag.xml");
define("treeCCMC", "http://apus.irap.omp.eu/AMDA-IMPEX/public/trees/Tree_CCMC_chablon5.xml");
define('wsdl_LESIA', 'http://maser.obspm.fr/IMPExWS/Methods_LESIA-Mag.wsdl');
if (!function_exists('__autoload')) {
function __autoload($class_name) {
require_once $class_name . '.php';
}
}
?>