File manager - Edit - /usr/local/cpanel/base/frontend/jupiter/passenger/index.js
Back
/* # passenger/index.js Copyright 2022 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 require: false, define: false, PAGE: false */ define( [ "angular", "jquery", "lodash", "cjt/core", "cjt/modules", "ngRoute", "uiBootstrap", "jquery-chosen", "angular-chosen" ], function(angular, $, _, CJT) { return function() { // First create the application angular.module("cpanel.applicationManager", ["ngRoute", "ui.bootstrap", "cjt2.cpanel", "localytics.directives", "cpanel.applicationManager.sseAPIService", "cpanel.applicationManager.appsService"]); // Then load the application dependencies var app = require( [ "cjt/bootstrap", "cjt/services/autoTopService", "cjt/services/alertService", "cjt/directives/alertList", "cjt/services/cpanel/componentSettingSaverService", "app/services/apps", "app/services/domains", "app/views/manage", "app/views/details", "app/directives/table_row_form" ], function(BOOTSTRAP) { var app = angular.module("cpanel.applicationManager"); app.value("defaultInfo", PAGE); app.config([ "$routeProvider", function($routeProvider) { $routeProvider.when("/manage", { controller: "ManageApplicationsController", controllerAs: "manage", templateUrl: "passenger/views/manage.ptt" }); $routeProvider.when("/details/:applname?", { controller: "ConfigurationDetailsController", controllerAs: "details", templateUrl: "passenger/views/details.ptt" }); $routeProvider.otherwise({ "redirectTo": "/manage" }); } ]); app.run([ "autoTopService", "componentSettingSaverService", function( autoTopService, componentSettingSaverService ) { autoTopService.initialize(); componentSettingSaverService.register("application_details"); }]); BOOTSTRAP("#content", "cpanel.applicationManager"); }); return app; }; } );
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.04 |
proxy
|
phpinfo
|
Settings