zfcampus / zf-development-mode

ZF2 development mode module
BSD 3-Clause "New" or "Revised" License
44 stars 25 forks source link

Is there a way to check for development mode in code, php code #28

Open waqarprojectinertia opened 7 years ago

waqarprojectinertia commented 7 years ago

How to check if the development mode is enabled or not in code

michalbundyra commented 7 years ago

@waqarprojectinertia Enabling development mode copy files:

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
weierophinney commented 4 years ago

This repository has been closed and moved to laminas/laminas-development-mode; a new issue has been opened at https://github.com/laminas/laminas-development-mode/issues/4.