mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
#17873741 : fixed the javascript error
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5936 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
eb9e8e1956
commit
f49953c7d7
1 changed files with 4 additions and 4 deletions
|
|
@ -261,10 +261,10 @@
|
|||
"php" => "Php"
|
||||
);
|
||||
|
||||
$file_ext = strtolower($file_ext);
|
||||
if($extToLang[$file_ext])
|
||||
$file_ext_tmp = strtolower($file_ext);
|
||||
if($extToLang[$file_ext_tmp])
|
||||
{
|
||||
$file_ext = $extToLang[$file_ext];
|
||||
$file_ext = $extToLang[$file_ext_tmp];
|
||||
}
|
||||
if(file_exists("./common/js/plugins/code_highlighter/script/shBrush".$file_ext.".js"))
|
||||
{
|
||||
|
|
@ -277,7 +277,7 @@
|
|||
</script>
|
||||
dpScript;
|
||||
Context::addHtmlFooter($js_code);
|
||||
Context::set('file_ext', $file_ext);
|
||||
Context::set('file_ext', $file_ext_tmp);
|
||||
}
|
||||
}
|
||||
Context::set('file_type', $file_type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue