1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-26 07:44:49 +02:00

Issue #4918 - Undefined constants cleanup.

This commit is contained in:
Cameron
2022-12-10 07:06:47 -08:00
parent 60d9c29af3
commit d960829532
30 changed files with 66 additions and 104 deletions

View File

@@ -70,8 +70,8 @@ class bb_code extends e_bb_base
$geshi->line_style1 = "font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;";
$geshi->set_encoding('utf-8');
$geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS);
$geshi->set_header_type(GESHI_HEADER_DIV);
$geshi->enable_line_numbers(defset('GESHI_NORMAL_LINE_NUMBERS'));
$geshi->set_header_type(defset('GESHI_HEADER_DIV'));
$CodeCache = $geshi->parse_code();
$e107cache->set('GeshiParsed_'.$code_md5, $CodeCache);
}