Convert all env() calls to config() calls

This commit is contained in:
Jonny Barnes 2017-02-15 20:44:03 +00:00
parent e032cd5861
commit b4df7a1bbb
10 changed files with 61 additions and 14 deletions

View file

@ -20,7 +20,7 @@ class AdminController extends Controller
*/
public function __construct()
{
$this->username = env('ADMIN_USER');
$this->username = config('admin.user');
}
/**