W dniu 2013-04-23 13:29, Rafal pisze:
>
> In regression.module:
>
> > +  $revision_new_date = date('Y-m-d H:i:s', $new_revision->updated);
> > +  $revision_new_diff = regression_diff_revisions($old_revision, $new_revision);
> > +
> > +  $settings          = regression_get_path_configuration($entry->path, TRUE);
> > +
> > +  $recipients        = $settings['notifications_email_recipients'];
> > +  $template          = $settings['notifications_email_regression_template'];
> > +
> > +  $css_body          = 'padding: 12px;';
> > +
> > +  $body              = '<div style="' . $css_body . '">' . regression_replacement_patterns_replace($new_revision, $template) . '</div>';
> > +
> > +  // Newlines become a "display:block".
> > +  $body              = str_replace("\n", '<span style="display:block;"></span>', $body);
> > +
> > +  file_put_contents('C:\body.htm', $body);
>
> please remove the hardcoded path
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/kenorb/regression/pull/1/files#r3913732>.
>
Done

-- 

/Kind regards / Pozdrawiam,
Adrian Kierzkowski/