summaryrefslogtreecommitdiff
path: root/program/include/rcube_template.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-01-28 11:27:16 +0000
committeralecpl <alec@alec.pl>2010-01-28 11:27:16 +0000
commit10eedbe75a2022d65ec349de5f3bd12400191974 (patch)
tree13df2e006a7cbbca30f464877493e4c3f0b67d21 /program/include/rcube_template.php
parent4fc7a7e5f633f10dac29a9bd7e77bb23e3f9585e (diff)
- add file/line definitions to raise_error() calls
Diffstat (limited to 'program/include/rcube_template.php')
-rwxr-xr-xprogram/include/rcube_template.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index c583f740e..fef0eac2a 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -290,7 +290,9 @@ class rcube_template extends rcube_html_page
if ($templ != 'iframe') {
// prevent from endless loops
if ($exit != 'recur' && $this->app->plugins->is_processing('render_page')) {
- raise_error(array('code' => 505, 'type' => 'php', 'message' => 'Recursion alert: ignoring output->send()'), true, false);
+ raise_error(array('code' => 505, 'type' => 'php',
+ 'file' => __FILE__, 'line' => __LINE__,
+ 'message' => 'Recursion alert: ignoring output->send()'), true, false);
return;
}
$this->parse($templ, false);