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
commitab8b46da49e1b2da2710b5c69c7b411d30138ead (patch)
tree0fb99285d3a2d39783b28509eccb2a25fdbfbd04 /Postman/Postman.php
parentad292885dc7b4c9a070a1c49d8b8e50c741a19db (diff)
downloadPost-SMTP-ab8b46da49e1b2da2710b5c69c7b411d30138ead.zip
* Fix lockfile erros
* Contact form 7 integration * PHP 5.6 requirement git-svn-id: https://plugins.svn.wordpress.org/post-smtp/trunk@1863201 b8457f37-d9ea-0310-8a92-e5e31aec5664
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 ) {