⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Use the define directive on your development/production sites



davidoster

davidoster
  • profile picture
  • Member

Posted 24 May 2013 - 07:11 AM

Dear all,

 

as you all know Grocery CRUD (at least the latest stable version 1.3.3) is based on CodeIgniter framework.

 

A functionality that is not used very often can be really helpfull when we move our application from development to production.

 

As this page says, "Developers often desire different system behavior depending on whether an application is running in a development or production environment. For example, verbose error output is something that would be useful while developing an application, but it may also pose a security issue when "live".

"

 

So, just visit the page, Handling Multiple Environments and use the define() for easier porting of your applications!