Add mising ABSPATH checks to prevent execution on direct file access

This commit is contained in:
Tautvidas Sipavičius
2019-01-23 11:32:40 +02:00
parent 784c952229
commit b2bb7b0023
34 changed files with 71 additions and 43 deletions

View File

@ -1,7 +1,8 @@
<?php
namespace MailPoet\Config\PopulatorData\Templates;
if(!defined('ABSPATH')) exit;
class AppWelcome {
private $template_image_url;
@ -412,4 +413,4 @@ class AppWelcome {
return $this->template_image_url . '/app-welcome-email.jpg';
}
}
}