projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d6ab06
)
Lock.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Nov 2010 08:00:24 +0000
(16:00 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Nov 2010 08:00:24 +0000
(16:00 +0800)
Lock.php
patch
|
blob
|
history
diff --git
a/Lock.php
b/Lock.php
index
e69de29
..
1c35584
100644
(file)
--- a/
Lock.php
+++ b/
Lock.php
@@
-0,0
+1,21
@@
+<?php
+
+
+require_once 'Pman.php';
+
+class Pman_Core_Lock extends Pman
+{
+
+ function getAuth()
+ {
+ $au = $this->getAuthUser();
+ if (!$au) {
+ $this->jerr("Not authenticated", array('authFailure' => true));
+ }
+ $this->authUser = $au;
+ // check that it's a supplier!!!!
+
+ return true;
+ }
+
+}
\ No newline at end of file