projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cbab896
)
missing fetch
author
Alan
<alan@roojs.com>
Thu, 19 May 2022 06:12:28 +0000
(14:12 +0800)
committer
Alan
<alan@roojs.com>
Thu, 19 May 2022 06:12:28 +0000
(14:12 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
56c08af
..
d020fc4
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-256,7
+256,7
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
// do not start a session if we are using http auth...
// we have a situation where the app is behind a http access and is also login
// need to work out a way to handle that.
// do not start a session if we are using http auth...
// we have a situation where the app is behind a http access and is also login
// need to work out a way to handle that.
-
+ $ff= HTML_FlexyFramework::get();
if (php_sapi_name() != "cli" && (empty($_SERVER['PHP_AUTH_USER']) || !empty($ff->disable_http_auth))) {
@session_start();
}
if (php_sapi_name() != "cli" && (empty($_SERVER['PHP_AUTH_USER']) || !empty($ff->disable_http_auth))) {
@session_start();
}