make sure ABSPATH is defined before using it - fixes issue #648
This commit is contained in:
@ -1,9 +1,10 @@
|
||||
<?php
|
||||
if(!defined('ABSPATH')) exit;
|
||||
|
||||
namespace MailPoet\API;
|
||||
|
||||
use \MailPoet\Util\Security;
|
||||
|
||||
if(!defined('ABSPATH')) exit;
|
||||
|
||||
class API {
|
||||
function init() {
|
||||
|
Reference in New Issue
Block a user