Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Extended Auth_User not found
I'm trying to extend the Auth_User class. In order to do so, I've created app\classes\model\user.php:
class Auth_User extends \Auth\Model\Auth_User
protected static $_properties = array(
'telefon_number' => array(
In my app\bootstrap.php I have:
'Model\\Auth_User' => APPPATH.'classes/model/user.php',
'Auth_User' => APPPATH.'classes/model/user.php',
However, I get a "File "APPPATH/classes/model/user.php" does not contain class "Auth_User"" exception. What could have gone wrong?
You get that message because it doesn't. It contains \Model\Auth_User.
So why add it to the autoloader twice, once correct and once incorrect?
Thank you, it works now.
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion