Skip to content

Commit 4f312e7

Browse files
committed
Fixed a bug with sending headers
1 parent 05e06f7 commit 4f312e7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

index.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
define('LANG', get_lang());
1818

19+
ob_start();
20+
1921
get_page(ROOT_PATH . 'themes/' . TPL . '/tpl/header.tpl');
2022

2123
if(!empty($_GET['p']))
@@ -30,3 +32,5 @@
3032
}
3133

3234
get_page(ROOT_PATH . 'themes/' . TPL . '/tpl/footer.tpl');
35+
36+
ob_end_flush();

0 commit comments

Comments
 (0)