make sure ABSPATH is defined before using it - fixes issue #648

This commit is contained in:
Jonathan Labreuille
2016-10-06 12:40:00 +02:00
parent f923a8063b
commit b9745b555a
21 changed files with 218 additions and 206 deletions

View File

@ -1,9 +1,10 @@
<?php
if(!defined('ABSPATH')) exit;
namespace MailPoet\API;
use \MailPoet\Util\Security;
if(!defined('ABSPATH')) exit;
class API {
function init() {