From fbd8f7eeffc0af4ad5faf0491716d9df328b5a25 Mon Sep 17 00:00:00 2001 From: Philip <4144601+philipbrembeck@users.noreply.github.com> Date: Tue, 4 Jan 2022 22:13:09 +0100 Subject: [PATCH] Changed `require` & `include` to `_once` [#75] Changed `require` and `include` to `require_once` and `include_once` to fix #75 --- index.php | 4 ++-- offline.php | 2 +- script.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index b152fe4..5854cef 100644 --- a/index.php +++ b/index.php @@ -4,7 +4,7 @@ if(!in_array($lang,$supportedLanguages)){ $lang='en'; } - require("localization/".$lang.".php"); + require_once("localization/".$lang.".php"); ?>