|
|
|
@ -285,7 +285,7 @@ function openFilename(obj){ |
|
|
|
|
var ext = getSuffixName(path); |
|
|
|
|
|
|
|
|
|
// console.log(path,ext);
|
|
|
|
|
if (inArray(ext,['html','htm','php','txt','md','js','css','scss','json','c','h','pl','py','java','log','conf','sh','json','ini'])){ |
|
|
|
|
if (inArray(ext,['html','htm','php','txt','md','js','css','scss','json','c','h','pl','py','java','log','conf','sh','json','ini', 'yaml'])){ |
|
|
|
|
onlineEditFile(0, path); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|