You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
+ rfe #3517354 [interface] Allow disabling CodeMirror with $cfg['CodemirrorEnable'] = false
This commit is contained in:
7
sql.php
7
sql.php
@@ -19,8 +19,11 @@ $GLOBALS['js_include'][] = 'tbl_change.js';
|
||||
// the next one needed because sql.php may do a "goto" to tbl_structure.php
|
||||
$GLOBALS['js_include'][] = 'tbl_structure.js';
|
||||
$GLOBALS['js_include'][] = 'gis_data_editor.js';
|
||||
$GLOBALS['js_include'][] = 'codemirror/lib/codemirror.js';
|
||||
$GLOBALS['js_include'][] = 'codemirror/mode/mysql/mysql.js';
|
||||
|
||||
if ($GLOBALS['cfg']['CodemirrorEnable']) {
|
||||
$GLOBALS['js_include'][] = 'codemirror/lib/codemirror.js';
|
||||
$GLOBALS['js_include'][] = 'codemirror/mode/mysql/mysql.js';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user