Hello,
I'm looking for some help on the following line of code, it keeps throwing an error.
Parse error: syntax error, unexpected T_FUNCTION Line 168.
The code below is line 168.
$content = preg_replace_callback("/\{include '(.*?)\'}/", function($m) {
return file_get_contents(CORE . 'includes/' .$m[1]);}, $str);
Any ideas?