Sentora Support Forums
Modify folders generated on account create - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Modify folders generated on account create (/showthread.php?tid=4040)



Modify folders generated on account create - cam246 - 09-24-2017

Hello,

When an account is created sentora will generate 3 files. (.tmb, backups, and public_html)
Where are these folders being generated so I can remove backups and add other folders.

Thanks,
Cam


RE: Modify folders generated on account create - TGates - 09-25-2017

In the user's hosting space...
/var/sentora/hostdata/[username]/


RE: Modify folders generated on account create - cam246 - 09-25-2017

(09-25-2017, 04:40 AM)TGates Wrote: In the user's hosting space...
/var/sentora/hostdata/[username]/

Hello,
How do I change it for NEW accounts. I don't want to have to create the folders manually for each client created.

Thanks,
Cam


RE: Modify folders generated on account create - betatester3.0 - 09-25-2017

(09-25-2017, 08:06 AM)cam246 Wrote: Hello,
How do I change it for NEW accounts. I don't want to have to create the folders manually for each client created.

Thanks,
Cam

for new and old accounts they will both be located in the users directory eg: username:burn now if you want to find the burn's 3 folders it would be located in /var/sentora/hostdata/[Username HERE]/

check the folder contents and you shall find what you seek for Smile


RE: Modify folders generated on account create - cam246 - 09-26-2017

(09-25-2017, 08:57 PM)betatester3.0 Wrote: for new and old accounts they will both be located in the users directory eg: username:burn now if you want to find the burn's 3 folders it would be located in /var/sentora/hostdata/[Username HERE]/

check the folder contents and you shall find what you seek for Smile

Sorry,

I should be more clear. ***I am looking to change what files are generated on account creation.*** I know where the files are being generated but I want to modify what files get generated.

Thanks,
Cam


RE: Modify folders generated on account create - TGates - 09-26-2017

https://github.com/sentora/sentora-core/blob/master/modules/manage_clients/code/controller.ext.php

Line 549+


RE: Modify folders generated on account create - cam246 - 09-26-2017

(09-26-2017, 02:47 AM)TGates Wrote: https://github.com/sentora/sentora-core/blob/master/modules/manage_clients/code/controller.ext.php

Line 549+

Thankyou!