projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
714c59d
)
RooConfig.php
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 08:16:14 +0000
(16:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 08:16:14 +0000
(16:16 +0800)
RooConfig.php
patch
|
blob
|
history
diff --git
a/RooConfig.php
b/RooConfig.php
index
e69de29
..
6428384
100644
(file)
--- a/
RooConfig.php
+++ b/
RooConfig.php
@@
-0,0
+1,22
@@
+<?php
+
+
+class Pman_Core_RooConfig extends Pman {
+
+ function getAuth()
+ {
+ return true; // everyone allowed
+ }
+
+ function post() {
+ $this->jerr("access denied");
+ }
+
+ function get()
+ {
+ $c = DB_DataObject::factory('core_enum')->fetchAllByType('comptype'); // array of object.s
+
+
+
+ }
+}