If Only I Knew That!

Webby things that could save you time

Quick tip: Codeigniter config for index.php when using .htaccess

without comments

Can across this the other day by dhorrigan on forrst.com

It checks for .htaccess file and if not found uses index.php

$config['index_page'] = is_file(FCPATH . '.htaccess') ? '' : 'index.php';

Written by daveganley

September 21st, 2010 at 5:08 pm

Posted in Codeigniter,PHP

Leave a Reply

Powered by CDN Rewrites