aboutsummaryrefslogtreecommitdiff
path: root/www/www-header.php
diff options
context:
space:
mode:
authorJustin J. Novack <jnovack@gmail.com>2012-09-17 15:30:15 -0400
committerJustin J. Novack <jnovack@gmail.com>2012-09-17 15:30:15 -0400
commit13989a4e7cb4453225762dab6b5e5a7565b43df8 (patch)
tree694b0c2ce9071ef66a08a62da31a42aed46d1e96 /www/www-header.php
parentb8b5759174c0734d6682502b4e1830334dd0df13 (diff)
downloadphorkie-13989a4e7cb4453225762dab6b5e5a7565b43df8.tar.gz
phorkie-13989a4e7cb4453225762dab6b5e5a7565b43df8.zip
FIX: login - sreg/ax default, identifier renamed to openid_url
Diffstat (limited to 'www/www-header.php')
-rw-r--r--www/www-header.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/www-header.php b/www/www-header.php
index 64dca11..96cd481 100644
--- a/www/www-header.php
+++ b/www/www-header.php
@@ -1,6 +1,9 @@
<?php
namespace phorkie;
-session_start();
+if (session_id() == "") {
+ session_start();
+}
+
set_include_path(
__DIR__ . '/../src/'
. PATH_SEPARATOR . get_include_path()