/** * the main disply function */ public function display($tpl = null) { /* * download file */ if (isset($_POST['id'])) { require_once BDT_SU_ROOT . DIRECTORY_SEPARATOR . 'shortcodes' . DIRECTORY_SEPARATOR . 'file_download' . DIRECTORY_SEPARATOR . 'helper' . DIRECTORY_SEPARATOR . 'like.php'; } exit; parent::display($tpl); }
/** * the main disply function */ public function display($tpl = null) { parent::display($tpl); }