Save files uploaded by users on other partion

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
develop
Posts: 1
Joined: 2024-02-06 08:55

Save files uploaded by users on other partion

Post by develop » 2024-02-06 11:54

We installed AppGini on a windows server. The server has a C partition and A D partition. On the C partition AppGini is installed. We want the files uploaded by users (which are stored in the images folders of AppGini) to be stored on the D partition of the server. We tried doing it in Admin settings but we get errors. Is this possible?
adminsettings_appginiforum.png
adminsettings_appginiforum.png (27.9 KiB) Viewed 236 times
Lybra Dev

rpierce
Veteran Member
Posts: 258
Joined: 2018-11-26 13:55
Location: Washington State

Re: Save files uploaded by users on other partion

Post by rpierce » 2024-02-08 23:33

Can you do it by changing the path in the config.php file? In my app, uploads are stored in the images folder by default. I modified it with an uploads folder. It seems that you should be able to change the "baseUploadsPath" to whatever you want?? I'm not sure but it's worth experimenting.

Code: Select all

'baseUploadPath' => "images/uploads",

Post Reply