projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f738eb
)
DataObjects/Person.php
author
Alan Knowles
<alan@akbkhome.com>
Wed, 23 May 2012 15:33:41 +0000
(23:33 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 23 May 2012 15:33:41 +0000
(23:33 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
ae47896
..
d37fb49
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-207,6
+207,22
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
return true;
}
+ // http basic auth..
+ $u = DB_DataObject::factory('Person');
+
+ if (!empty($_SERVER['PHP_AUTH_USER'])
+ &&
+ !empty($_SERVER['PHP_AUTH_PW'])
+ &&
+ $u->get('email', $_SERVER['PHP_AUTH_USER'])
+ &&
+
+
+
+ }
+
+
+
// not in session or not matched...
$u = DB_DataObject::factory('Person');