itsgoingd / clockwork

Clockwork - php dev tools in your browser - server-side component
https://underground.works/clockwork
MIT License
5.62k stars 323 forks source link

Clockwork tries to create storage/clockwork folder even it's not enabled #612

Open gitstashgithub opened 1 year ago

gitstashgithub commented 1 year ago

Hi guys,

We use clockwork in our local and it works great. However when we did a release in server, it caused issue. We have different server users for request and backend task and the default clockwork folder permission is 644 so it has permission issue.

Except for the permission issue, what I don't understand is the clockwork is not enabled in server, so why it still tries to write the index file(or check the file is writable)?

Thanks. Gordon

gitstashgithub commented 1 year ago

I suggest everyone use composer require itsgoingd/clockwork --dev instead of composer require itsgoingd/clockwork if you don't use clockwork in production.