Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Set web root directory on WHMCS autoinstall



Threaded Mode | Print  

 Set web root directory on WHMCS autoinstall, WHMCS Autoinstall puts itself in a directory 'wp' rather than in the web root. (2 Replies, Read 2230 times)
waverleymedia
Group: Member
Post Group: Newbie
Posts: 1
Status:
I have the automatic installation of Wordpress working with WHMCS, which is fantastic, however, I can't seem to make it install into the default web root, it always installs into a sub folder 'wp/', I've tried to add a blank field in the array, but it doesn't work.

PHP Code

 $GLOBALS['softaculous_conf']['defaults']['admin_username'] = 'admin';
$GLOBALS['softaculous_conf']['defaults']['admin_pass'] = 'password';
$GLOBALS['softaculous_conf']['defaults']['softdirectory'] = ''



I can't find the directory field name in install.xml?
IP: --   

Set web root directory on WHMCS autoinstall
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

Since there is no data posted from the order form Softaculous takes the default value of the fields.

You can select the following checkbox "Don't Prefill Directory Name" in Softaculous Admin panel -> Settings and click on "Edit Settings" button.

This will leave the directory blank by default.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Set web root directory on WHMCS autoinstall
danrussell
Group: Member
Post Group: Newbie
Posts: 5
Status:
Hi,

Keep the field blank. And it will take the web root directory.

It created sub-folder with the  name mentioned in that field.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 8:26 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.168