title: How to build in 'maintenance mode' in Codeigniter?
body: <p>I'm using latest codeigniter and I need to create a flag (ideally in the config) when turned to 'true', all pages display a 'maintenance mode' message instead of executing their controller code.</p>
  
  <p>What is the best/simplest practice for doing this?</p>