private function loadFooter() { if (file_exists(Configuration::getTemplatesPath() . $this->domain_template . DS . $this->template_name . DS . $this->footer_file)) { return Configuration::getTemplatesPath() . $this->domain_template . DS . $this->template_name . DS . $this->footer_file; } else { return Configuration::getTemplatesPath() . $this->domain_template . DS . "default" . DS . $this->footer_file; } }
/** * Get email template */ public function emailTemplate() { if (file_exists(Configuration::getTemplatesPath() . "emails" . DS . $this->email_template)) { return Configuration::getTemplatesPath() . "emails" . DS . $this->email_template; } }