| 1 |
<?php |
| 2 |
|
| 3 |
defined('ABSPATH') or die; |
| 4 |
|
| 5 |
/* |
| 6 |
Plugin Name: FluentCart |
| 7 |
Description: FluentCart WordPress Plugin |
| 8 |
Version: 1.6.2 |
| 9 |
Author: FluentCart Team |
| 10 |
Author URI: https://fluentcart.com/about-us |
| 11 |
Plugin URI: https://fluentcart.com |
| 12 |
License: GPLv2 or later |
| 13 |
Text Domain: fluent-cart |
| 14 |
Domain Path: /language |
| 15 |
*/ |
| 16 |
|
| 17 |
if (!defined('FLUENTCART_PLUGIN_PATH')) { |
| 18 |
define('FLUENTCART_VERSION', '1.6.2'); |
| 19 |
define('FLUENTCART_DB_VERSION', '1.0.50'); |
| 20 |
define('FLUENTCART_PLUGIN_PATH', plugin_dir_path(__FILE__)); |
| 21 |
define('FLUENTCART_URL', plugin_dir_url(__FILE__)); |
| 22 |
define('FLUENTCART_PLUGIN_FILE_PATH', __FILE__); |
| 23 |
define('FLUENTCART_UPLOAD_DIR', 'fluent_cart'); |
| 24 |
define('FLUENT_CART_DIR_FILE', __FILE__); |
| 25 |
define('FLUENTCART_MIN_PRO_VERSION', '1.6.2'); |
| 26 |
} |
| 27 |
|
| 28 |
register_activation_hook(__FILE__, function () { |
| 29 |
update_option('fluent_cart_do_activation_redirect', true); |
| 30 |
}); |
| 31 |
|
| 32 |
return (function ($_) { |
| 33 |
return $_(__FILE__); |
| 34 |
})( |
| 35 |
require __DIR__ . '/boot/app.php', |
| 36 |
require __DIR__ . '/vendor/autoload.php', |
| 37 |
//require __DIR__ . '/dev/build-scoped/vendor/scoper-autoload.php' |
| 38 |
); |
| 39 |
|