} // END - if
// Construct the FQFN for the template by honoring the current language
- $fqfn = sprintf("%s%s/%s/%s%s",
+ $fqfn = sprintf("%s%s/%s%s/%s/%s%s",
+ $this->getConfigInstance()->readConfig('application_path'),
+ Registry::getRegistry()->getInstance('application')->getAppShortName(),
$this->getBasePath(),
$this->getLanguageInstance()->getLanguageCode(),
$this->getTemplateType(),
@eval($eval);
// Goes something wrong?
- if (!isset($result)) {
+ if ((!isset($result)) || (empty($result))) {
// Output eval command
$this->debugOutput(sprintf("Failed eval() code: <pre>%s</pre>", $this->markupCode($eval, true)), true);