Giter VIP home page Giter VIP logo

Comments (3)

Zegnat avatar Zegnat commented on September 26, 2024

I am divided on this. As I mention in step 6, I have actually put endpoint.php in the same folder as Selfauth. This would not work with index.php.

Not sure what the best default case is.

from php-mintoken.

skpy avatar skpy commented on September 26, 2024

I considered this before making the suggestion. If you're manually copying the file into a different directory, then renaming the file in the process of copying it does not add much burden. Unless the directory into which you copy it is not version controlled, AND that directory has an index.php, AND you accidentally forget to change the name, then there's not much risk here. If a user copies this index.php over a different index.php, well ... I hope they have backups!

I'd love to have this live in the same directory as selfauth, but I do not want to manually copy files around. If this file were migrated to the selfauth repo (and, perhaps, named token.php), it would make this all a bit easier (for me).

Feel free to close this issue if you wish. It's not a big deal to me either way.

from php-mintoken.

Zegnat avatar Zegnat commented on September 26, 2024

After a good night of thinking, I might be coming around to this.

I was looking at possibly streamlining the installation through composer (composer create-project), and that too always wants to install into an empty folder. Much like git.

If all the tooling people are likely to use are creating new folders, I may as well rename it index.

from php-mintoken.

Related Issues (10)

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.