} if ((!
$this->caching ||
$_template->has_nocache_code ||
$_template->source->recompiled
) && !
$no_output_filter && (isset($this->smarty->autoload_filters
['output'
]) ||
isset($this->smarty->registered_filters
['output'
]))) { $_output = Smarty_Internal_Filter_Handler::
runFilter('output',
$_output,
$_template);
} if (isset($this->error_reporting
)) { error_reporting($_smarty_old_error_level);
} // display or fetch
if ($display) { if ($this->caching &&
$this->cache_modified_check
) { $_isCached =
$_template->
isCached() && !
$_template->has_nocache_code;
$_last_modified_date = @
substr($_SERVER['HTTP_IF_MODIFIED_SINCE'
], 0,
strpos($_SERVER['HTTP_IF_MODIFIED_SINCE'
], 'GMT'
) + 3
);
if ($_isCached &&
$_template->cached->timestamp <=
strtotime($_last_modified_date)) { switch (PHP_SAPI
) { case 'cgi': // php-cgi < 5.3
case 'cgi-fcgi': // php-cgi >= 5.3
case 'fpm-fcgi': // php-fpm >= 5.3.3
header('Status: 304 Not Modified'
);
break;
case 'cli':
if (/* ^phpunit */!
empty($_SERVER['SMARTY_PHPUNIT_DISABLE_HEADERS'
])/* phpunit$ */
) {