PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Core/init.php +5 -5 10.0.1 → 11.1.0 View file →
@@ -1,5 +1,6 @@
1 1 <?php
2 +defined('ABSPATH') || die('Restricted Access');
2 3
3 4 use AcyMailing\Core\AcymParameter;
4 5 use AcyMailing\Core\AcymPlugin;
5 6
@@ -29,17 +30,12 @@
29 30 define('ACYM_SOCIAL_MEDIA', json_encode(['facebook', 'twitter', 'instagram', 'linkedin', 'pinterest', 'vimeo', 'wordpress', 'youtube', 'x', 'telegram']));
30 31 define('ACYM_ENTERPRISE_PRICE', '7.4');
31 32 define('ACYM_ESSENTIAL_PRICE', '2.4');
32 33
33 -if (is_callable('date_default_timezone_set')) {
34 - date_default_timezone_set(@date_default_timezone_get());
35 -}
36 -
37 34 include_once ACYM_HELPER_GLOBAL.'acl.php';
38 35 include_once ACYM_HELPER_GLOBAL.'addon.php';
39 36 include_once ACYM_HELPER_GLOBAL.'ajax.php';
40 37 include_once ACYM_HELPER_GLOBAL.'chart.php';
41 -include_once ACYM_HELPER_GLOBAL.'curl.php';
42 38 include_once ACYM_HELPER_GLOBAL.'date.php';
43 39 include_once ACYM_HELPER_GLOBAL.'email.php';
44 40 include_once ACYM_HELPER_GLOBAL.'field.php';
45 41 include_once ACYM_HELPER_GLOBAL.'file.php';
@@ -51,13 +47,15 @@
51 47 include_once ACYM_HELPER_GLOBAL.'multibyte.php';
52 48 include_once ACYM_HELPER_GLOBAL.'query.php';
53 49 include_once ACYM_HELPER_GLOBAL.'security.php';
54 50 include_once ACYM_HELPER_GLOBAL.'url.php';
51 +include_once ACYM_HELPER_GLOBAL.'user.php';
55 52 include_once ACYM_HELPER_GLOBAL.'utf8.php';
56 53 include_once ACYM_HELPER_GLOBAL.'version.php';
57 54 include_once ACYM_HELPER_GLOBAL.'view.php';
58 55 include_once ACYM_HELPER_GLOBAL.'log.php';
59 56
57 +// Load libraries
60 58 include_once ACYM_CORE.'AcymObject.php';
61 59 include_once ACYM_CORE.'AcymClass.php';
62 60 include_once ACYM_CORE.'AcymParameter.php';
63 61 include_once ACYM_CORE.'AcymController.php';
@@ -63,9 +61,11 @@
63 61 include_once ACYM_CORE.'AcymController.php';
64 62 include_once ACYM_CORE.'AcymView.php';
65 63 include_once ACYM_CORE.'AcymPlugin.php';
66 64
65 +// For old plugins compatibility
67 66 class_alias(AcymParameter::class, 'AcyMailing\\Libraries\\acymParameter');
68 67 class_alias(AcymPlugin::class, 'AcyMailing\\Libraries\\acymPlugin');
69 68 class_alias(AcymPlugin::class, 'acymPlugin');
70 69
70 +// Load the AcyMailing translations
71 71 acym_loadLanguage();