mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 18:28:54 +00:00
@@ -35,8 +35,10 @@ class Smarty_Internal_Extension_DefaultTemplateHandler
|
||||
$_return = call_user_func_array($default_handler,
|
||||
array($source->type, $source->name, &$_content, &$_timestamp, $source->smarty));
|
||||
if (is_string($_return)) {
|
||||
$source->timestamp = @filemtime($_return);
|
||||
$source->exists = !!$source->timestamp;
|
||||
$source->exists = is_file($_return);
|
||||
if ($source->exists) {
|
||||
$source->timestamp = filemtime($_return);
|
||||
}
|
||||
$source->filepath = $_return;
|
||||
} elseif ($_return === true) {
|
||||
$source->content = $_content;
|
||||
|
||||
Reference in New Issue
Block a user