FIX: login - sreg/ax default, identifier renamed to openid_url
[phorkie.git] / www / www-header.php
index 64dca1104a1810d1a0d91977e9c86e4e37e21ee8..96cd481829ac43a2e5c002d537253505f309269c 100644 (file)
@@ -1,6 +1,9 @@
 <?php
 namespace phorkie;
-session_start();
+if (session_id() == "") {
+    session_start();
+}
+
 set_include_path(
     __DIR__ . '/../src/'
     . PATH_SEPARATOR . get_include_path()