0

can someone help me how to correct the following code so that I do not get a php error thank you very much

$skin = preg_replace_callback('/{\$lng->(.+?)}/i', create_function('$matches', 'global $LNG; return $LNG[$matches[1]];'), $skin);

$skin = preg_replace_callback('/{\$(.+?)}/i', create_function('$matches', 'global $TMPL; return $TMPL[$matches[1]];'), $skin);

$skin = preg_replace_callback('/{include \"(.+?)\"}/i', create_function('$matches', 'return file_get_contents($matches[1]);'), $skin);

IMSoP
  • 89,526
  • 13
  • 117
  • 169
PlanetNet
  • 1
  • 2
  • Give it a rest with the reposts. Help nagging won't yield personal support. This has been answered a hundred times over. And if you can't be bothered to read the existing posts, then well, though luck. – mario Jun 20 '21 at 22:44
  • had answered 100 times but no solution for me – PlanetNet Jun 20 '21 at 23:42

0 Answers0