mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-05 05:39:20 +02:00
Add optional param _page_only for single-page apps etc.
This commit is contained in:
parent
d6ac4e8d85
commit
113473f256
@ -317,6 +317,11 @@ $content .= ob_get_contents();
|
||||
ob_end_clean();
|
||||
$hooks->trigger(HOOK_AFTER_PAGE);
|
||||
|
||||
if (isset($_REQUEST['_page_only'])) {
|
||||
echo $content;
|
||||
die;
|
||||
}
|
||||
|
||||
if(!isset($title)) {
|
||||
$title = str_replace('index.php/', '', $page);
|
||||
$title = ucfirst($title);
|
||||
|
Loading…
x
Reference in New Issue
Block a user