Update define for production
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 21 Feb 2017 14:06:33 +0000 (09:06 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 21 Feb 2017 14:06:33 +0000 (09:06 -0500)
Making this change for go live.

lib/EventRegistration.php
setup/setup.phtml

index 2e41bde..3e103ea 100644 (file)
@@ -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',
index 3ba82d7..b640c8e 100644 (file)
@@ -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();