But in the end, I've seen that is very simple.
First of all enter in your phpbb directory, enter the "includes" directory and open "function.php", in that find:
Code: Select all
if (@extension_loaded('zlib') && !headers_sent() && ob_get_level() <= 1 && ob_get_length() == 0)
{
ob_start('ob_gzhandler');
}
}
Code: Select all
//added from MKportal
ob_start();
// End added
Code: Select all
$template->assign_var('RUN_CRON_TASK', '<img src="' . append_sid($phpbb_root_path . 'cron.' . $phpEx, 'cron_type=' . $cron_type) . '" width="1" height="1" alt="cron" />');
}
}
$template->display('body');
garbage_collection();
Code: Select all
//added from MKportal
if (strpos($_SERVER['REQUEST_URI'], '/adm/') === false) {
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/PHPBB3/php_out.php";
mkportal_board_out();
}
//end added