nashikouen / kotatsuBBS

image board software written in php
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

change file store root #2

Closed chen-chan1 closed 2 months ago

chen-chan1 commented 3 months ago

as of right now the database saved the files absaloute location. it should save it relative to the thread dir. and the global config should have the path to the dir folder. this will make it easier to move to move software and db over instances.

chen-chan1 commented 2 months ago

this was easier then i thought. i just have to add and strip the file path on save