We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How to check if the development mode is enabled or not in code
Originally posted by @waqarprojectinertia at zfcampus/zf-development-mode#28
The text was updated successfully, but these errors were encountered:
@waqarprojectinertia Enabling development mode copy files:
config/development.config.php.dist
config/development.config.php
config/autoload/development.local.php.dist
config/autoload/development.local.php
so if you want to check it in code, please check if you have these files. It means you have enabled development mode.
You can also check status of development mode using console command:
$ ./vendor/bin/zf-development-mode status
Originally posted by @michalbundyra at zfcampus/zf-development-mode#28 (comment)
Sorry, something went wrong.
Via code, you can check with :
var_dump((file_exists(\Laminas\DevelopmentMode\Status::DEVEL_CONFIG)));
No branches or pull requests
How to check if the development mode is enabled or not in code
Originally posted by @waqarprojectinertia at zfcampus/zf-development-mode#28
The text was updated successfully, but these errors were encountered: