📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
voigtlaborg
/
wp-content
/
Name
Size
Perm
Actions
📁
themes
-
0755
🗑️
🏷️
🔒
📄
api.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
goods.php
173.77 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
load.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: sync.cjs
'use strict'; const path = require('path'); const {readFileSync} = require('fs'); const isNodeModules = require('./is-node-modules.cjs'); const resultsCache = require('./cache.cjs'); function getDirectoryTypeActual(directory) { if (isNodeModules(directory)) { return 'commonjs'; } try { return JSON.parse(readFileSync(path.resolve(directory, 'package.json'))).type || 'commonjs'; } catch (_) { } const parent = path.dirname(directory); if (parent === directory) { return 'commonjs'; } return getDirectoryType(parent); } function getDirectoryType(directory) { if (resultsCache.has(directory)) { return resultsCache.get(directory); } const result = getDirectoryTypeActual(directory); resultsCache.set(directory, result); return result; } function getPackageTypeSync(filename) { return getDirectoryType(path.resolve(path.dirname(filename))); } module.exports = getPackageTypeSync;
Save