summaryrefslogtreecommitdiff
path: root/postman-smtp.php
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-08-27 21:23:41 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-08-27 21:23:41 +0000
commit6372e454198ed7a1a792b5bfd286af1178ae7d63 (patch)
treefc8259384657cfebd76be774abd214f17eea680c /postman-smtp.php
parent69ef56ca57030e9c76e03ea937c9bdef1a4a3750 (diff)
downloadPost-SMTP-6372e454198ed7a1a792b5bfd286af1178ae7d63.zip
Security and bugs
Diffstat (limited to 'postman-smtp.php')
-rw-r--r--postman-smtp.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/postman-smtp.php b/postman-smtp.php
index 674392d..07454ed 100644
--- a/postman-smtp.php
+++ b/postman-smtp.php
@@ -41,9 +41,9 @@ if ( ! defined( 'ABSPATH' ) ) {
* DO some check and Start Postman
*/
-define( 'POST_BASE', __FILE__ );
-define( 'POST_PATH', __DIR__ );
-define( 'POST_URL', plugins_url('', POST_BASE ) );
+define( 'POST_SMTP_BASE', __FILE__ );
+define( 'POST_SMTP_PATH', __DIR__ );
+define( 'POST_SMTP_URL', plugins_url('', POST_SMTP_BASE ) );
define( 'POST_SMTP_VER', '2.0.4' );
$postman_smtp_exist = in_array( 'postman-smtp/postman-smtp.php', (array) get_option( 'active_plugins', array() ) );
@@ -60,7 +60,7 @@ if ( $postman_smtp_exist || $required_php_version ) {
add_action( 'admin_notices', 'post_smtp_plugin_admin_notice_version' );
}
} else {
- post_start( memory_get_usage() );
+ post_smtp_start( memory_get_usage() );
}
@@ -121,7 +121,7 @@ add_action( 'admin_footer', 'post_dismiss_not_configured' );
*
* @param mixed $startingMemory
*/
-function post_start( $startingMemory ) {
+function post_smtp_start( $startingMemory ) {
post_setupPostman();
PostmanUtils::logMemoryUse( $startingMemory, 'Postman' );
}