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 fs = require('fs'); var path = require('path'); var stripBom = require('strip-bom'); var utils = require('./utils'); /** * Looks for files with .html, .hbs, or .handlebars extensions within the given directory, and adds them as Handlebars partials matching the name of the file. * @param {string} dir - Folder to check for partials. */ module.exports = function(dir) { var partials = utils.loadFiles(dir, '**/*.{html,hbs,handlebars}'); for (var i in partials) { var ext = path.extname(partials[i]); var file = stripBom(fs.readFileSync(partials[i]).toString()); var name = path.basename(partials[i], ext); this.Handlebars.registerPartial(name, file.toString()); } }