var $cli = false;
function getAuth() {
- $o = PEAR::getStaticProperty('HTML_FlexyFramework', 'options');
- if (!empty($o['cli'])) {
+
+ $ff = HTML_FlexyFramework::get();
+ if (!empty($ff->cli)) {
$this->cli = true;
return true;
}
// technically it would be good to trash the cached ini files here..
// however we can not really do that, as the ownships are off..
//we can however regen our own files..
- HTML_FlexyFramework::generateDataobjectsCache(true);
+ HTML_FlexyFramework::get()->generateDataobjectsCache(true);
die("done!");
}