mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-11 07:46:10 +01:00
bug fix: install wp in sub folder
This commit is contained in:
@@ -289,6 +289,15 @@ app.controller('createWordpress', function ($scope, $http, $timeout, $compile, $
|
||||
var autoupdates = $scope.autoupdates;
|
||||
var pluginupdates = $scope.pluginupdates;
|
||||
var themeupdates = $scope.themeupdates;
|
||||
|
||||
var path = $scope.installPath;
|
||||
|
||||
var home = "1";
|
||||
|
||||
if (typeof path != 'undefined') {
|
||||
home = "0";
|
||||
}
|
||||
|
||||
var data = {
|
||||
|
||||
title: WPtitle,
|
||||
@@ -303,6 +312,8 @@ app.controller('createWordpress', function ($scope, $http, $timeout, $compile, $
|
||||
Themes: themeupdates,
|
||||
websiteOwner: websiteOwner,
|
||||
package: package,
|
||||
home: home,
|
||||
path: path,
|
||||
}
|
||||
var config = {
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user