projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http auth do not use sessions.
[Pman.Core]
/
DataObjects
/
Core_person.php
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
5160b4e
..
0c17a7d
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-251,7
+251,10
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
// ---------------- authentication / passwords and keys stuff ----------------
function isAuth()
{
// ---------------- authentication / passwords and keys stuff ----------------
function isAuth()
{
- @session_start();
+ // do not start a session if we are using http auth...
+ if (empty($_SERVER['PHP_AUTH_USER'])) {
+ @session_start();
+ }
$ff= HTML_FlexyFramework::get();
$ff= HTML_FlexyFramework::get();