From: Steve Sutton Date: Tue, 21 Feb 2017 14:06:33 +0000 (-0500) Subject: Update define for production X-Git-Tag: v1.0.0^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=f8a382ea247df6223593722e9f87514679aeace1;p=WP-Themes%2Funiversitycenter.git Update define for production Making this change for go live. --- diff --git a/lib/EventRegistration.php b/lib/EventRegistration.php index 2e41bde..3e103ea 100644 --- a/lib/EventRegistration.php +++ b/lib/EventRegistration.php @@ -8,7 +8,7 @@ add_shortcode( 'glm-event-registrations', function( $atts ){ $_REQUEST['event'] = 0; // Event ID } - $_ENV['GLM_HOST_ID'] = 'DEVELOPMENT'; + $_ENV['GLM_HOST_ID'] = 'PRODUCTION'; require_once get_template_directory() . '/setup/setup.phtml'; include_once '/var/www/server/app.gaslightmedia.com/Common/Registrations_V3/front-end/registrations.inc'; } ); @@ -21,7 +21,7 @@ add_action( 'admin_bar_menu', function( $wp_admin_bar ){ $args = array( 'id' => 'eventregistrations', 'title' => 'Event Registrations', - 'href' => 'http://dev53.gaslightmedia.com/www.ucgaylord.org/admin/Registrations/', + 'href' => 'http://66.129.44.82/admin/Registrations/', 'meta' => array( 'class' => 'eventregistrations', 'title' => 'Event Registrations', diff --git a/setup/setup.phtml b/setup/setup.phtml index 3ba82d7..b640c8e 100644 --- a/setup/setup.phtml +++ b/setup/setup.phtml @@ -25,7 +25,7 @@ // Find where this file is located $BASE_PATH = dirname(__FILE__); $php_version = phpversion(); -define('GLM_HOST_ID', 'DEVELOPMENT'); +define('GLM_HOST_ID', 'PRODUCTION'); define('PHP5', true); // $base_url needs to be set to the page in wordpress $page = get_post();