diff --git a/admin/theme-edit.php b/admin/theme-edit.php index 9157c7498..ecef9c462 100644 --- a/admin/theme-edit.php +++ b/admin/theme-edit.php @@ -109,10 +109,10 @@ $theme_templates .= ""; if (!defined('GSNOHIGHLIGHT') || GSNOHIGHLIGHT!=true){ - register_script('codemirror', $SITEURL.'admin/template/js/codemirror/lib/codemirror-compressed.js', '0.2.0', FALSE); + register_script('codemirror', $SITEURL.$GSADMIN.'/template/js/codemirror/lib/codemirror-compressed.js', '0.2.0', FALSE); - register_style('codemirror-css',$SITEURL.'admin/template/js/codemirror/lib/codemirror.css','screen',FALSE); - register_style('codemirror-theme',$SITEURL.'admin/template/js/codemirror/theme/default.css','screen',FALSE); + register_style('codemirror-css',$SITEURL.$GSADMIN.'/template/js/codemirror/lib/codemirror.css','screen',FALSE); + register_style('codemirror-theme',$SITEURL.$GSADMIN.'/template/js/codemirror/theme/default.css','screen',FALSE); queue_script('codemirror', GSBACK);