Skip to content

Commit

Permalink
Revert define change
Browse files Browse the repository at this point in the history
  • Loading branch information
joehoyle committed Apr 16, 2019
1 parent ffe8f9f commit b2772a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion load.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
's3' => true,
'tachyon' => true,
];
define( 'AWS_XRAY_DAEMON_IP_ADDRESS', gethostbyname( getenv( 'AWS_XRAY_DAEMON_HOST' ) ) );

register_module( 'local-server', __DIR__, 'Local Server', $default_settings, function () {
$config = get_config()['modules']['local-server'];

Expand Down Expand Up @@ -49,6 +49,9 @@

define( 'ELASTICSEARCH_HOST', getenv( 'ELASTICSEARCH_HOST' ) );
define( 'ELASTICSEARCH_PORT', getenv( 'ELASTICSEARCH_PORT' ) );

define( 'AWS_XRAY_DAEMON_IP_ADDRESS', gethostbyname( getenv( 'AWS_XRAY_DAEMON_HOST' ) ) );

global $redis_server;
$redis_server = [
'host' => getenv( 'REDIS_HOST' ),
Expand Down

0 comments on commit b2772a8

Please sign in to comment.