Git Product home page Git Product logo

Comments (11)

causefx avatar causefx commented on April 28, 2024 1

I'm already working on something similar to that for v1.0

When first installing it will ask you where you would like for it to store the database. It will then save it in an another file.

from organizr.

HeroCC avatar HeroCC commented on April 28, 2024

You can edit user.php to set where the DB goes.

from organizr.

ShoGinn avatar ShoGinn commented on April 28, 2024

@HeroCC I know you can modify it but the point is that if the version gets updated that file will get overwritten.

from organizr.

causefx avatar causefx commented on April 28, 2024

can you just add www-data to the group that has permissions to opt?

from organizr.

ShoGinn avatar ShoGinn commented on April 28, 2024

@causefx I think for the purpose of the database files having them located elsewhere is necessary and configuring that is a good enhancement :)

from organizr.

causefx avatar causefx commented on April 28, 2024

@ShoGinn correct, I was just speaking in the meantime.

from organizr.

hoopty avatar hoopty commented on April 28, 2024

@causefx, I would recommend that you have user.php include another (optional) config.php that can override the defaults you have there so folks can create/edit config.php with any server specific settings they need. Also, please put config.php in .gitignore so that updates and gut pulls, etc. do not ever need to touch it. Right now, we need to revert our customizations to users.php then get the latest & then re-appy those customizations.

from organizr.

causefx avatar causefx commented on April 28, 2024

just a heads up this is fixed.

from organizr.

ShoGinn avatar ShoGinn commented on April 28, 2024

Thanks! I have been trying to implement this into a simpler solution and integration into a nginx location setup!

from organizr.

ShoGinn avatar ShoGinn commented on April 28, 2024

so far I have:


   location ~ /(\.|users.db) {
        deny all;
    }

Any idea what you are going to do with that users folder??

from organizr.

causefx avatar causefx commented on April 28, 2024

what ever location you specify on the startup when you update, will use that path for both the db file and users folder.

image

from organizr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.