$this->authUser = $au;
}
+ function get() {
+ // for testing..
+ return $this->post();
+ }
function post()
{
- $ff = HTML_FlexyFramework::get()->Pman_Core['googlekey'];
- $this->jdata()
+ $pc = HTML_FlexyFramework::get()->Pman_Core;
+ if (empty($pc['googlekey'])) {
+ $this->jerr("Google API Key not configured");
+ }
+ $key = $pc['googlekey'];
+ $this->jdata($key);
}