From f3e921cb53d129bc9da8f98b71f55c4a641c3d98 Mon Sep 17 00:00:00 2001 From: Martin Kozianka Date: Fri, 11 Aug 2017 15:58:25 +0200 Subject: [PATCH] Fix in runonce.php --- contao/config/runonce.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contao/config/runonce.php b/contao/config/runonce.php index e169acb..5238a56 100644 --- a/contao/config/runonce.php +++ b/contao/config/runonce.php @@ -23,7 +23,11 @@ public function __construct() public function run() { - require_once(TL_ROOT.'/system/config/langconfig.php'); + $langConfigFile = TL_ROOT.'/system/config/langconfig.php'; + if (file_exists($langConfigFile)) + { + require_once($langConfigFile); + } if ($this->Database->tableExists('tl_metafields')) {