-
Notifications
You must be signed in to change notification settings - Fork 331
make frankenphp directive optional, thanks @francislavoie #1601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I didn't realize a global variable was being used here This can be gotten rid of by having each handler instance call methods on the app instance in So like: app, err := ctx.App("frankenphp")
if err != nil {
return err
}
app.AddWorkerConfig(...) It's not right at all that |
edit : resolved |
Excellent work. Thanks! |
* make frankenphp directive optional, thanks @francislavoie * get rid of global variable * update workers when adding to app * suggestions * goto instead of continue outer? * remove empty frankenphp directives * update config to reflect the optional frankenphp directive * AI translations * restore eol newlines * don't double check for duplicate worker name * add short form for php_server worker too * translations * AI hates EOL newlines now? * suggestion to check for nil * suggestion to use else if block
No description provided.