mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 09:39:58 -06:00
fix: self invoking ReplaceKey class
This commit is contained in:
@@ -11,7 +11,7 @@ class ReplaceKey
|
||||
private $keyfile;
|
||||
private $regExp;
|
||||
|
||||
private function __construct()
|
||||
public function __construct()
|
||||
{
|
||||
$this->docroot = $GLOBALS['docroot'] ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user