Opened 10 months ago
#4724 new Defect
Page handler prints directly the pages
| Reported by: | sembrestels | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Needs Review |
| Component: | Core | Version: | 1.8 |
| Severity: | minor | Keywords: | page handler |
| Cc: | brett@… | Difficulty: | easy |
Description
There is no function to take the data that Elgg sends to the browser.
If you want to get it you have to do this:
ob_start(); page_handler($handler, $path); $out = ob_get_contents(); ob_end_clean();
We could avoid this using the function different, printing page contents outside the function.
echo elgg_page_handler($handler, $path);
And maintain the page_handler for backward compatibility.
Note: See
TracTickets for help on using
tickets.
