diff options
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,6 +2,7 @@ require_once( dirname(__FILE__) . '/bootstrap.php'); ob_start('minify'); +session_set_cookie_params(SESSION_LIFETIME, '/', HOST, true, true); session_name(SESSION); session_start(); @@ -121,16 +122,17 @@ require_once 'static/header.php'; <?php require_once 'static/footer.php'; $moar->playFooter(); +include("static/piwik.html"); ?> </body> </html> <?php $html = ob_get_contents(); -ob_end_clean(); - $html = $moar->magicHeader($html); +ob_clean(); echo $html; if ( ! $c->bypassCache && $_SERVER["REQUEST_METHOD"] == "GET" && $_SERVER["REDIRECT_STATUS"] == 200 ) { $c->setPageCache($token, $html, 3600); } +ob_end_flush(); |
