Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Issue in Route::load_routes()
  • I wanted to report an issue in the Route class, the load_routes method. On line 25:
    if (\Config::load('config', false, $reload))
    

    The second parameter passed to Config::load is "false", this should be "null". This is causing the Config class to load the config into an empty group, Config::items[0]. To fix the issue, either change Routes, line 25 to:
    if (\Config::load('config', null, $reload))
    

    or change Config, line 48 to:
    if ($group === null || $group === false)
    

    I did the former in my install, tested and works correctly. Michael

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!