namespace CoreFramework\Mailer\Debug;
// Import framework stuff
+use CoreFramework\Bootstrap\FrameworkBootstrap;
use CoreFramework\Generic\NullPointerException;
use CoreFramework\Mailer\BaseMailer;
use CoreFramework\Mailer\DeliverableMail;
use CoreFramework\Manager\Login\ManageableMember;
use CoreFramework\Manager\ManageableApplication;
+use CoreFramework\Registry\Registry;
use CoreFramework\Template\CompileableTemplate;
/**
$templateInstance->renderXmlContent();
// Get responce instance
- $responseInstance = $this->getApplicationInstance()->getResponseInstance();
+ $responseInstance = FrameworkBootstrap::getResponseInstance();
// Transfer the data to the response
$templateInstance->transferToResponse($responseInstance);
$templateInstance->assignTemplateWithVariable('footer', 'footer');
// Load the master template
- $templateInstance->loadCodeTemplate($this->getApplicationInstance()->buildMasterTemplateName());
+ $templateInstance->loadCodeTemplate(Registry::getRegistry()->getInstance('app')->buildMasterTemplateName());
// Then compile it again
$templateInstance->compileVariables();