fuel / oil

Fuel PHP Framework - Fuel v1.x Oil command-line package
http://fuelphp.com/docs/packages/oil/intro.html
106 stars 67 forks source link

set global current user must be an object nor an array #84

Closed pct closed 12 years ago

pct commented 12 years ago

Please see this url. Or just follow http://net.tutsplus.com/tutorials/php/build-an-admin-panel-with-the-fuel-php-framework/ steps.

http://scrp.at/aQd

And crynobone say it could be fixed by using View::set_global('current_user', current($this->current_user)) at IRC channel.

pct commented 12 years ago

but it will fail if logout, because logout will clean current_user

pct commented 12 years ago

I have test fuelphp 1.1, it's been fixed.