• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Routing: Directory not setting in time

Hi guys, longtime user here. Developing a new site on RC3.

I'm using $routing[ 'directory' ] = 'storefront'; in my index.php.

My default controller is simply 'boston'.

In Router.php, when _set_default_controller() is called from _set_routing(), it attempts to set the boston controller as the default but finds it doesn't exist. The reason being the directory is not being set in the constructor until after _set_routing() is called, resulting in $this->directory() on line 304 not returning anything.

I'll do my own little override for now with a fix, I just wanted to bring it to your attention. Keep up the great work!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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