On Tuesday, February 19, 2013 at 7:23 AM, Henrique Kieckbusch wrote:
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /var/www/vhosts/company/httpdocs/2013/inc/qp.php on line 61
The line is:
spl_autoload_register(function ($klass) {
$parts = explode('\\', $klass);
if ($parts[0] == 'QueryPath') {
$path = __DIR__ . '/' . implode('/', $parts) . '.php';
if (file_exists($path)) {
require $path;
}
}
}
Do you know how to fix this to work in php 5.2?
--
You received this message because you are subscribed to the Google Groups "support-querypath" group.
To unsubscribe from this group and stop receiving emails from it, send an email to support-queryp...@googlegroups.com.
To post to this group, send email to support-...@googlegroups.com.
Visit this group at http://groups.google.com/group/support-querypath?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.