Skip to content
Advertisement

Tag: slim-3

Slim Php not recognizing gets

I am just starting to work with Slim PHP. What could be the reason that get is not recognized on server? This route works: it returns required text https://mywebsite/back/public This route doesn’t …

Slim 3: how to access settings?

Before the Slim 3 is released, codes below work fine: settings.php, index.php MyClass.php But after the release, I get this error below: Notice: Undefined property: SlimApp::$settings in /… So I can’t use $app->settings anymore? What should I use then? Answer You can get settings like this:

Advertisement