Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
fd3aa6a8
Commit
fd3aa6a8
authored
Apr 25, 2007
by
Penny Leach
Browse files
when ignoring errors from smarty's compile directory, expand symlinks
parent
5480d061
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/errors.php
View file @
fd3aa6a8
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment