From: Chuck Scott Date: Mon, 26 Oct 2015 20:37:43 +0000 (-0400) Subject: Fixed redeclare for SmaryBC class X-Git-Tag: v1.0.37^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=61e067c9459e1e4d514bc2a72aa929875e7ddaaa;p=WP-Plugins%2Fglm-member-db.git Fixed redeclare for SmaryBC class --- diff --git a/glm-member-db.php b/glm-member-db.php index 26282d9e..e069cf8b 100644 --- a/glm-member-db.php +++ b/glm-member-db.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 1.0.36 + * Version: 1.0.37 * Author: Chuck Scott * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersDatabase * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.0.36 + * @version 1.0.37 */ /* @@ -33,7 +33,7 @@ * version when there's a change in the database!! Use the * version nunmber of that release for the DB version. */ -define('GLM_MEMBERS_PLUGIN_VERSION', '1.0.36'); +define('GLM_MEMBERS_PLUGIN_VERSION', '1.0.37'); define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.0.30'); /* diff --git a/lib/smartyTemplateSupport.php b/lib/smartyTemplateSupport.php index 5163c4be..1e5cd287 100644 --- a/lib/smartyTemplateSupport.php +++ b/lib/smartyTemplateSupport.php @@ -54,9 +54,7 @@ class smartyTemplateSupport { /* * Load and instatiate Smarty Templates */ -// require (GLM_MEMBERS_PLUGIN_PATH . '/lib/Smarty-3.1.21/libs/Smarty.class.php'); -// $this->template = new Smarty (); - require (GLM_MEMBERS_PLUGIN_PATH . '/lib/Smarty-3.1.21/libs/SmartyBC.class.php'); + require_once (GLM_MEMBERS_PLUGIN_PATH . '/lib/Smarty-3.1.21/libs/SmartyBC.class.php'); $this->template = new SmartyBC (); /*