From e724bb25115f71e1aa4296514a861338791c29c8 Mon Sep 17 00:00:00 2001 From: ultimatemember Date: Tue, 20 Jan 2015 14:08:12 +0200 Subject: [PATCH] index.php Changes --- index.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 6250d605..266e1a60 100644 --- a/index.php +++ b/index.php @@ -9,15 +9,20 @@ Author URI: http://ultimatemember.com/ */ require_once(ABSPATH.'wp-admin/includes/plugin.php'); + $plugin_data = get_plugin_data( __FILE__ ); define('um_url',plugin_dir_url(__FILE__ )); define('um_path',plugin_dir_path(__FILE__ )); - define('ULTIMATEMEMBER_VERSION', $plugin_data['Version'] ); define('um_plugin', plugin_basename( __FILE__ ) ); + + define('ULTIMATEMEMBER_VERSION', $plugin_data['Version'] ); + $plugin = um_plugin; - /* Start the plugin! */ + /*** + *** @Init + ***/ require_once um_path . 'um-init.php'; /***