From aac68b1070c1047165cf9a3c27b1aaa0441ddfe6 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Fri, 2 Feb 2024 15:14:39 -0800 Subject: [PATCH] fix: self invoking ReplaceKey class --- emhttp/plugins/dynamix/include/ReplaceKey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix/include/ReplaceKey.php b/emhttp/plugins/dynamix/include/ReplaceKey.php index 6d57eaa8d..b82253d89 100644 --- a/emhttp/plugins/dynamix/include/ReplaceKey.php +++ b/emhttp/plugins/dynamix/include/ReplaceKey.php @@ -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';