summaryrefslogtreecommitdiff
path: root/Postman/notifications/PostmanSlackNotify.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/notifications/PostmanSlackNotify.php')
-rw-r--r--Postman/notifications/PostmanSlackNotify.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Postman/notifications/PostmanSlackNotify.php b/Postman/notifications/PostmanSlackNotify.php
index 41094ed..5b6fae3 100644
--- a/Postman/notifications/PostmanSlackNotify.php
+++ b/Postman/notifications/PostmanSlackNotify.php
@@ -1,5 +1,7 @@
<?php
-
+if ( ! defined( 'ABSPATH' ) ) {
+ exit; // Exit if accessed directly
+}
class PostmanSlackNotify implements Postman_Notify {
public function send_message($message)