Skip to content

Commit

Permalink
Fix in runonce.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kozi committed Aug 11, 2017
1 parent 3122afb commit f3e921c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contao/config/runonce.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
{
Expand Down

0 comments on commit f3e921c

Please sign in to comment.