summaryrefslogtreecommitdiff
path: root/Postman/Postman.php
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2018-04-23 21:12:54 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2018-04-23 21:12:54 +0000
commit3e80abbf531755154b42ca5433f9faa3793cc554 (patch)
tree0fb99285d3a2d39783b28509eccb2a25fdbfbd04 /Postman/Postman.php
parent152216ed4fd9e7bae72fca87dd1542c1ea5c1196 (diff)
downloadPost-SMTP-3e80abbf531755154b42ca5433f9faa3793cc554.zip
* Fix lockfile erros
* Contact form 7 integration * PHP 5.6 requirement
Diffstat (limited to 'Postman/Postman.php')
-rw-r--r--Postman/Postman.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/Postman/Postman.php b/Postman/Postman.php
index 7df883a..ba639e3 100644
--- a/Postman/Postman.php
+++ b/Postman/Postman.php
@@ -54,6 +54,7 @@ class Postman {
require_once 'PostmanConfigTextHelper.php';
require_once 'Postman-Email-Log/PostmanEmailLogPostType.php';
require_once 'Postman-Mail/PostmanMyMailConnector.php';
+ require_once 'Postman-Mail/PostmanContactForm7.php';
//require_once 'Postman-Mail/PostmanWooCommerce.php';
// get plugin metadata - alternative to get_plugin_data
@@ -106,6 +107,9 @@ class Postman {
// MyMail integration
new PostmanMyMailConnector( $rootPluginFilenameAndPath );
+ // Contact form 7
+ new Postsmtp_ContactForm7;
+
// WooCommerce Integration
//new PostmanWoocommerce();
@@ -153,6 +157,7 @@ class Postman {
$this,
'on_deactivation',
) );
+
}
public function post_smtp_wpml_admin_notice() {
@@ -426,7 +431,7 @@ class Postman {
// because __FILE__ returns the wrong path if the plugin is installed as a symlink
$shortLocale = substr( get_locale(), 0, 2 );
if ( $shortLocale != 'en' ) {
- $langDir = 'postman-smtp/Postman/languages';
+ $langDir = 'post-smtp/Postman/languages';
$success = load_plugin_textdomain( Postman::TEXT_DOMAIN, false, $langDir );
if ( $this->logger->isDebug() ) {
if ( $success ) {