Moved hardcoded html filepaths into config file for extensibility (#354)
Co-authored-by: chatfield <chatfield@creatuity.com> Co-authored-by: Fred Brennan <copypaste@kittens.ph>
This commit is contained in:
@@ -15,5 +15,5 @@ if ($config['report_captcha']) {
|
||||
$captcha = null;
|
||||
}
|
||||
|
||||
$body = Element('report.html', ['global' => $global, 'post' => $post, 'board' => $board, 'captcha' => $captcha, 'config' => $config]);
|
||||
echo Element('page.html', ['config' => $config, 'body' => $body]);
|
||||
$body = Element($config['file_report'], ['global' => $global, 'post' => $post, 'board' => $board, 'captcha' => $captcha, 'config' => $config]);
|
||||
echo Element($config['file_page_template'], ['config' => $config, 'body' => $body]);
|
||||
|
Reference in New Issue
Block a user