Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.140.201.179
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
panini /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
helpMessage.js
1022
B
-rw-rw-r--
2022-08-30 11:49
loadBuiltinHelpers.js
405
B
-rw-rw-r--
2022-08-30 11:49
loadData.js
890
B
-rw-rw-r--
2022-08-30 11:49
loadHelpers.js
837
B
-rw-rw-r--
2022-08-30 11:49
loadLayouts.js
632
B
-rw-rw-r--
2022-08-30 11:49
loadPartials.js
710
B
-rw-rw-r--
2022-08-30 11:49
processRoot.js
789
B
-rw-rw-r--
2022-08-30 11:49
refresh.js
529
B
-rw-rw-r--
2022-08-30 11:49
render.js
3.14
KB
-rw-rw-r--
2022-08-30 11:49
utils.js
444
B
-rw-rw-r--
2022-08-30 11:49
Save
Rename
var path = require('path'); var slash = require('slash'); /** * Creates a string that can be prepended to a file path that needs to resolve to the root. * @param {string} page - Path to the page. * @param {string} root - Path to the page root. * @returns {string} An empty string if the page is at the root, or a series of `../` characters if the page is in a subdirectory relative to the root. */ module.exports = function(page, root) { var pagePath = path.dirname(page); var rootPath = path.join(process.cwd(), root); var relativePath = path.relative(pagePath, rootPath); if (relativePath.length > 0) { relativePath += '/'; } // On Windows, paths are separated with a "\" // However, web browsers use "/" no matter the platform return slash(relativePath); }