• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
htaccess problem, rewrite to stats folder

#9
[eluser]Référencement Google[/eluser]
Just remembered I had a My_router function that can make this problem:

Code:
class MY_Router extends CI_Router
{
    function _validate_segments($segments)
    {
        if (count($segments) == 1 and file_exists(APPPATH.'views/static/'.$segments[0].EXT))
        {
            array_unshift($segments, 'static_page', 'show');
        }
        return parent::_validate_segments($segments);
    }
}

The problem is that I am not understanding enough things to find and solve the problem.


Messages In This Thread
htaccess problem, rewrite to stats folder - by El Forum - 10-15-2007, 10:51 AM
htaccess problem, rewrite to stats folder - by El Forum - 10-15-2007, 12:50 PM
htaccess problem, rewrite to stats folder - by El Forum - 10-15-2007, 03:33 PM
htaccess problem, rewrite to stats folder - by El Forum - 10-15-2007, 03:50 PM
htaccess problem, rewrite to stats folder - by El Forum - 10-15-2007, 04:08 PM
htaccess problem, rewrite to stats folder - by El Forum - 10-15-2007, 04:42 PM
htaccess problem, rewrite to stats folder - by El Forum - 10-15-2007, 05:24 PM
htaccess problem, rewrite to stats folder - by El Forum - 10-15-2007, 05:35 PM
htaccess problem, rewrite to stats folder - by El Forum - 10-15-2007, 06:01 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.