This commit is contained in:
Abdulrahman
2019-01-18 23:31:49 +03:00
parent d0408f902a
commit edacb37c79

8
do.php
View File

@@ -135,16 +135,20 @@ if (ig('id') || ig('filename'))
kleeja_err($lang['FILE_NO_FOUNDED']);
}
$show_style = true;
is_array($plugin_run_result = Plugins::getInstance()->run('b4_showsty_downlaod_id_filename', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook
//add http reffer to session to prevent errors with some browsers !
$_SESSION['HTTP_REFERER'] = $file_info['id'];
// show style ...
// show style
if($show_style)
{
Saaheader($title);
echo $tpl->display($sty);
Saafooter();
}
}