From e4b41c09442098df133876072db079a18b552354 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Tue, 5 Jan 2021 14:30:51 +0100 Subject: [PATCH] config file can be needed multiple times --- Object.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Object.php b/Object.php index 9989a60..0789aa4 100644 --- a/Object.php +++ b/Object.php @@ -4,7 +4,7 @@ private array $config; public function __construct(string $config_path = "/config.php") { - require_once(__DIR__."/../..".$config_path); + require(__DIR__."/../..".$config_path); $this->config = $global_config; unset($global_config); }