fix: self invoking ReplaceKey class

This commit is contained in:
Zack Spear
2024-02-02 15:14:39 -08:00
committed by Zack Spear
parent 8133b2acc0
commit aac68b1070

View File

@@ -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';