magikstm

Results 31 comments of magikstm

I'm unsure. I reviewed the documentation, tests and the code. The code seems to be a bit limited here: https://github.com/mikecao/flight/blob/2df64f37ea76ce98b97ed327c6b1f5ea2a5df2b0/flight/net/Route.php#L79 What routes are you trying to match exactly? Please provide...

I would try these two: First route `Flight::route('/category-(@id:[0-9])-(@name:[a-z]).html', function($id, $name){` Second route `Flight::route('/category-(@id:[0-9])-(@name:[a-z])-page(@page:[0-9]).html', function($id, $name, $page = 1){` It should use the first one if no page is passed or...

Which version of Flight are you using?

Usually it can be checked in the composer.json file. It depends how you package your application though.

Did you try uploading and viewing an image or another simple file on that server? A 403 is possibly that the server or apache config isn't allowing external requests.

I submitted #393 for it. You would need to adjust settings inside coveralls and travis-ci: https://coveralls.io/sign-in (Github sign in, first red button in the middle) https://travis-ci.org/ (Sign in with Github...

I believe the issue you are having is because of a missing or incorrect .travis.yml under the main folder of the repository. This issue should be corrected after you pull...

Opcache should work with Flight. Flight is really light. Other things such as database or dynamic content would probably be the performance bottleneck.

Could you please share code related to this issue?

json_encode is used by the framework: https://github.com/mikecao/flight/blob/master/flight/Engine.php#L501 The method you are using is used to send a response: https://github.com/mikecao/flight#json This can be used to retrieve it: https://github.com/mikecao/flight#json-input What is the...