mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
15 lines
278 B
PHP
15 lines
278 B
PHP
<?php
|
|
|
|
if (!isset($_SESSION)) {
|
|
// HTTP Only cookies
|
|
ini_set("session.cookie_httponly", true);
|
|
|
|
if ($config_https_only) {
|
|
// Tell client to only send cookie(s) over HTTPS
|
|
ini_set("session.cookie_secure", true);
|
|
}
|
|
|
|
session_start();
|
|
|
|
}
|