Wenn ein Hash namens %main::debug_options existiert, dann werden all seine Variablen...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 21 Jun 2007 06:18:56 +0000 (06:18 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 21 Jun 2007 06:18:56 +0000 (06:18 +0000)
SL/Form.pm

index 7fc4456..9bfb945 100644 (file)
@@ -532,6 +532,10 @@ sub _prepare_html_template {
   $additional_params->{"conf_latex_templates"}        = $main::latex;
   $additional_params->{"conf_opendocument_templates"} = $main::opendocument_templates;
 
+  if (%main::debug_options) {
+    map { $additional_params->{'DEBUG_' . uc($_)} = $main::debug_options{$_} } keys %main::debug_options;
+  }
+
   $main::lxdebug->leave_sub();
 
   return $file;