// ---------------- authentication / passwords and keys stuff ----------------
function isAuth()
{
+
@session_start();
$ff= HTML_FlexyFramework::get();
&&
$u->checkPassword($_SERVER['PHP_AUTH_PW'])
) {
- print_r('return true');exit;
$_SESSION[get_class($this)][$sesPrefix .'-auth'] = serialize($u);
return true;
}
if ($roo->authUser->id > -1 || $p->count() > 1) {
return;
}
- $c = DB_DAtaObject::Factory('core_company');
- $tc =$c->count();
+ $c = DB_DataObject::Factory('core_company');
+ $tc = $c->count();
if (!$tc || $tc> 1) {
$roo->jerr("can not create initial user as multiple companies already exist");
}