require_once 'Pman.php';
+
+/**
+ *
+ * NOT IN USED NOW!!!
+ *
+ *
+ *
+ */
class Pman_Core_GoogleKey extends Pman
{
function getAuth()
$this->authUser = $au;
}
- function get() {
+ function get($v, $opts=array()) {
// for testing..
return $this->post();
}
- function post()
+ function post($v)
{
- $key = HTML_FlexyFramework::get()->Pman_Core['googlekey'];
+ $pc = HTML_FlexyFramework::get()->Pman_Core;
+ if (empty($pc['googlekey'])) {
+ $this->jerr("Google API Key not configured");
+ }
+ $key = $pc['googlekey'];
$this->jdata($key);
}