我正在通过http://net.tutsplus.com/tutorials/php/b ... r-laravel /.
我已达到以下几点:
Extending Auth
To keep our bundle entirely self contained, we’ll need to extend auth. This will allow us to define a table just to login to our admin panel, and not interfere with the main application.
Before we create our custom driver, we'll create a configuration file, where you can choose if you'd like to use the username or email columns from the database table.
return array(
'username' => 'username',
'password' => 'password',
);
我不明白配置文件的名称是什么,它的内容是什么以及它应该在laravel 3.2目录结构中的位置。我将不胜感激任何帮助。
提前致谢,
比尔
答案 0 :(得分:1)
捆绑> bundlename> config> bundlename.php