| 1 |
<?php |
| 2 |
/* |
| 3 |
* Plugin Name: Divi Torque Lite |
| 4 |
* Plugin URI: https://divitorque.com |
| 5 |
* Description: Enhance your Divi website with powerful addons and modules. |
| 6 |
* Author: PlugPress |
| 7 |
* Author URI: https://plugpress.io |
| 8 |
* Version: 4.11.1 |
| 9 |
* Requires at least: 7.0 |
| 10 |
* Requires PHP: 7.4 |
| 11 |
* License: GPL3 |
| 12 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt |
| 13 |
* Text Domain: addons-for-divi |
| 14 |
* Domain Path: /languages |
| 15 |
*/ |
| 16 |
|
| 17 |
// If this file is called directly, abort. |
| 18 |
if (!defined('WPINC')) { |
| 19 |
die; |
| 20 |
} |
| 21 |
|
| 22 |
define('DIVI_TORQUE_LITE_FILE', __FILE__); |
| 23 |
define('DIVI_TORQUE_LITE_BASE', plugin_basename(__FILE__)); |
| 24 |
define('DIVI_TORQUE_LITE_VERSION', '4.11.1'); |
| 25 |
define('DIVI_TORQUE_LITE_DIR', plugin_dir_path(__FILE__)); |
| 26 |
define('DIVI_TORQUE_LITE_URL', plugin_dir_url(__FILE__)); |
| 27 |
define('DIVI_TORQUE_LITE_ASSETS', trailingslashit(DIVI_TORQUE_LITE_URL . 'assets')); |
| 28 |
define('DIVI_TORQUE_LITE_DIST_URL', trailingslashit(DIVI_TORQUE_LITE_URL . 'dist')); |
| 29 |
define('DIVI_TORQUE_LITE_MODULES_JSON_PATH', trailingslashit(DIVI_TORQUE_LITE_DIR . 'modules-json')); |
| 30 |
|
| 31 |
if (file_exists(__DIR__ . '/vendor/autoload.php')) { |
| 32 |
require_once __DIR__ . '/vendor/autoload.php'; |
| 33 |
} |
| 34 |
|
| 35 |
require_once DIVI_TORQUE_LITE_DIR . 'includes/plugin.php'; |
| 36 |
require_once DIVI_TORQUE_LITE_DIR . 'includes/divi5/Modules.php'; |
| 37 |
|