Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
REST authentication bug?
  • When I enable rest authentication (basic or digest) I get the warning: ErrorException [ Runtime Notice ]: Only variables should be assigned by reference COREPATH/classes/controller/rest.php @ line 252: The line in question being:
    $valid_logins = & \Config::get('rest.valid_logins');
    

    Assigning $valid_logins by value solves the problem (i.e. removing the &), is there any reason that you've not done this or I shouldn't
    (Not sure why the smiley is there...)
  • This bug has now been fixed in the 1.1/develop branch

Howdy, Stranger!

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

In this Discussion