Commit c8b0242a7f1c7ac921795fe68d579db02f0e9514
1 parent
a655d904
Exists in
SpeasyGet
Define speasy proxy URL in app config
Showing
2 changed files
with
3 additions
and
0 deletions
Show diff stats
config/AMDAIntegrationConfig.php
... | ... | @@ -40,6 +40,7 @@ define('TOOLS_BASE_DIR', $config['TOOLS_BASE_DIR']); |
40 | 40 | define('KERNEL_BUILD_TYPE', $config['KERNEL_BUILD_TYPE']); |
41 | 41 | define('AMDA_KERNEL_DIR', $config['AMDA_KERNEL_DIR']); |
42 | 42 | define('IHM_SRC_DIR', $config['IHM_SRC_DIR']); |
43 | +define('SPEASY_PROXY_URL', $config['SPEASY_PROXY_URL']); | |
43 | 44 | |
44 | 45 | define('GCC_BASE_DIR', TOOLS_BASE_DIR.'/gcc/4.7.2/rtf'); |
45 | 46 | define('BOOST_BASE_DIR', TOOLS_BASE_DIR.'/gcc/4.7.2/boost'); |
... | ... |
src/Request/Config/KernelConfigClass.php
... | ... | @@ -261,6 +261,8 @@ class KernelConfigClass |
261 | 261 | |
262 | 262 | if (self::$userName != "") |
263 | 263 | $appProperties["app.user.name"] = self::$userName; |
264 | + | |
265 | + $appProperties["app.speasyproxy.url"] = SPEASY_PROXY_URL; | |
264 | 266 | |
265 | 267 | $fp = fopen($working_dir.self::$propFile, 'w'); |
266 | 268 | foreach ($appProperties as $key => $value) |
... | ... |