🚑 fix(standAlonePage) Make sure configuration is read also in non-interactive mode

issue #5996
parent 036b34bb
......@@ -87,6 +87,7 @@ class standAlonePage
global $config, $ssl, $ui;
if (!$this->interactive) {
$this->activated = $this->readLdapConfig();
return;
}
......@@ -257,6 +258,11 @@ class standAlonePage
return preg_replace('/^&/', '?', $params);
}
public function isActivated ()
{
return $this->activated;
}
static function run ()
{
session::start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment