Commit fd3aa6a8 authored by Penny Leach's avatar Penny Leach
Browse files

when ignoring errors from smarty's compile directory, expand symlinks

parent 5480d061
......@@ -352,7 +352,7 @@ function error ($code, $message, $file, $line, $vars) {
// Ignore errors from smarty templates, which happen all too often
if (function_exists('get_config')) {
$compiledir = get_config('dataroot') . 'smarty/compile';
$compiledir = realpath(get_config('dataroot') . 'smarty/compile');
if (E_NOTICE == $code && substr($file, 0, strlen($compiledir)) == $compiledir) {
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment