projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2430c9b
)
disable session stuff if we are doing http auth
author
Alan Knowles
<alan@roojs.com>
Tue, 3 Nov 2020 06:42:42 +0000
(14:42 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 3 Nov 2020 06:42:42 +0000
(14:42 +0800)
HTML/FlexyFramework/Page.php
patch
|
blob
|
history
diff --git
a/HTML/FlexyFramework/Page.php
b/HTML/FlexyFramework/Page.php
index
9b2481f
..
5cb4937
100644
(file)
--- a/
HTML/FlexyFramework/Page.php
+++ b/
HTML/FlexyFramework/Page.php
@@
-403,6
+403,12
@@
class HTML_FlexyFramework_Page {
{
static $ses_status = false;
static $ini = false;
+
+ if (!empty($_SERVER['PHP_AUTH_USER'])) {
+ // do not do sessions if we are using http auth.
+ return;
+ }
+
// session status is only php5.4 and up..
if (!defined('PHP_SESSION_ACTIVE')) {
define('PHP_SESSION_ACTIVE' , 1);