aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/www-header.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/www-header.php b/www/www-header.php
index 94ee1d7..3fa4e0e 100644
--- a/www/www-header.php
+++ b/www/www-header.php
@@ -1,5 +1,7 @@
<?php
namespace phorkie;
+error_reporting(error_reporting() & ~E_STRICT);
+session_set_cookie_params(14 * 86400);//2 weeks session expiry time
session_start();
require_once __DIR__ . '/../src/phorkie/autoload.php';