| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: Gravity Forms eWAY |
| 4 |
Plugin URI: https://shop.webaware.com.au/downloads/gravity-forms-eway/ |
| 5 |
Description: Easily create online payment forms with Gravity Forms and eWAY. |
| 6 |
Version: 2.3.0 |
| 7 |
Author: WebAware |
| 8 |
Author URI: https://shop.webaware.com.au/ |
| 9 |
Text Domain: gravityforms-eway |
| 10 |
*/ |
| 11 |
|
| 12 |
/* |
| 13 |
copyright (c) 2012-2021 WebAware Pty Ltd (email : support@webaware.com.au) |
| 14 |
|
| 15 |
This program is free software; you can redistribute it and/or |
| 16 |
modify it under the terms of the GNU General Public License |
| 17 |
as published by the Free Software Foundation; either version 2 |
| 18 |
of the License, or (at your option) any later version. |
| 19 |
|
| 20 |
This program is distributed in the hope that it will be useful, |
| 21 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 22 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 23 |
GNU General Public License for more details. |
| 24 |
|
| 25 |
You should have received a copy of the GNU General Public License |
| 26 |
along with this program; if not, write to the Free Software |
| 27 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 28 |
*/ |
| 29 |
|
| 30 |
if (!defined('ABSPATH')) { |
| 31 |
exit; |
| 32 |
} |
| 33 |
|
| 34 |
define('GFEWAY_PLUGIN_FILE', __FILE__); |
| 35 |
define('GFEWAY_PLUGIN_ROOT', dirname(__FILE__) . '/'); |
| 36 |
define('GFEWAY_PLUGIN_NAME', basename(dirname(__FILE__)) . '/' . basename(__FILE__)); |
| 37 |
define('GFEWAY_PLUGIN_MIN_PHP', '7.0'); |
| 38 |
define('GFEWAY_PLUGIN_VERSION', '2.3.0'); |
| 39 |
|
| 40 |
require GFEWAY_PLUGIN_ROOT . 'includes/functions-global.php'; |
| 41 |
require GFEWAY_PLUGIN_ROOT . 'includes/class.Requires.php'; |
| 42 |
|
| 43 |
if (version_compare(PHP_VERSION, GFEWAY_PLUGIN_MIN_PHP, '<')) { |
| 44 |
add_action('admin_notices', 'gfeway_fail_php_version'); |
| 45 |
return; |
| 46 |
} |
| 47 |
|
| 48 |
require GFEWAY_PLUGIN_ROOT . 'includes/bootstrap.php'; |
| 49 |
|