Over a year ago I wrote about turning debug off automatically in production. That post I wrote is completely wrong (to an extent). The theory is correct but the execution was incorrect. Even one of the comments pointed out the problem, but I haven't had time to blog about it till now. Continue reading...
Compression v1.4
Compression is a light weight class that will load a CSS stylesheet, bind and translate given variables, compress and remove white space and cache the output for future use.
Blog entries with the tag "Production"
Mar
12
12
Turning debug off automatically in production
Topics: Tutorials, CakePHP // 2 comments, 1,865 views
So I recently got tired of having to manually set debug to 0 every time I updated an old site or published a new one. So I thought, why not have it automatically turn off when the site is live? For this to work, I'm assuming that you are working on a localhost with an IP of 127.0.0.1. Continue reading...
Popular Entries
Topics
- CakePHP (42)
- Entertainment (2)
- Gaming (4)
- HTML & CSS (1)
- Javascript (6)
- jQuery (6)
- Other (8)
- Personal (12)
- PHP & MySQL (18)
- Plugins (3)
- Programming (8)
- Resources (13)
- Reviews (1)
- Scripts (14)
- Tutorials (41)