mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 00:54:08 +02:00
Remove CodeMirror
- uses other colors than JUSH - not used everywhere (triggers, routines, ...) - Ctrl+Left and similar works bad - missing autocomplete - blocking loader
This commit is contained in:
@@ -295,7 +295,6 @@ foreach (array("adminer", "editor") as $project) {
|
||||
$file = preg_replace('~\\.\\./adminer/static/(default\\.css|functions\\.js|favicon\\.ico)~', '<?php echo ' . $replace . '"; ?>', $file);
|
||||
$file = preg_replace('~\\.\\./adminer/static/([^\'"]*)~', '" . ' . $replace, $file);
|
||||
$file = str_replace("'../externals/jush/'", "location.protocol + '//www.adminer.org/static/'", $file);
|
||||
$file = str_replace('"../externals/CodeMirror2"', '($_SERVER["HTTPS"] ? "https" : "http") . "://www.adminer.org/static/CodeMirror2"', $file);
|
||||
$file = preg_replace("~<\\?php\\s*\\?>\n?|\\?>\n?<\\?php~", '', $file);
|
||||
$file = php_shrink($file);
|
||||
|
||||
|
Reference in New Issue
Block a user