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

cleanup: notice removal

This commit is contained in:
lia
2007-04-15 16:07:39 +00:00
parent 3d3995a010
commit 07ec018ea8
7 changed files with 44 additions and 44 deletions

View File

@@ -14,7 +14,7 @@ $search = array(E_NL,'\','$', '&lt');
$replace = array("\r\n","\\",'$', '<');
$code_text = str_replace($search, $replace, $code_text);
if($pref['useGeshi'] && file_exists(e_PLUGIN."geshi/geshi.php")) {
if(isset($pref['useGeshi']) && $pref['useGeshi'] && file_exists(e_PLUGIN."geshi/geshi.php")) {
$code_md5 = md5($code_text);
if(!$CodeCache = $e107cache->retrieve('GeshiParsed_'.$code_md5)) {