$default_admin = false;
if (!empty($ff->Pman['local_autoauth']) &&
($ff->Pman['local_autoauth'] === true) &&
- ($_SERVER['PATH_INFO'] != '') && // auto-auth is disabled for home page
+ (!empty($_SERVER['PATH_INFO'])) && // auto-auth is disabled for home page
(!empty($_SERVER['SERVER_ADDR'])) &&
(
(
)
) {
+ var_dump($_SERVER['PATH_INFO']);exit;
$group = DB_DataObject::factory('core_group');
$group->get('name', 'Administrators');
$u = DB_DataObject::factory($this->tableName());
$ff = HTML_FlexyFramework::get();
- if (!empty($ff->Pman['local_autoauth']) &&
+ if (!empty($ff->Pman['local_autoauth']) &&
+ ($ff->Pman['local_autoauth'] === true) &&
(!empty($_SERVER['SERVER_ADDR'])) &&
(
(