• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Myth:Auth - Views location

#2
Never mind... I don't know what I did wrong the first time, but I recreated the environment and now it's working.  I still had to change the $view files to the correct path, but at least now it generated the Auth.php file in a way that I understood how it should be.

Before:

PHP Code:
public $views = [
 
'login'   => 'App\Views\login',
 
'register' => 'App\Views\register',
 
'forgot'   => 'App\Views\forgot',
 
'reset'   => 'App\Views\reset',
 
'emailForgot' => 'App\Views\emails\forgot',
 
'emailActivation' => 'App\Views\emails\activation',
 ];

public 
$viewLayout 'App\Views\layout'


After:

PHP Code:
public $views = [
 
'login'   => 'App\Views\Auth\login',
 
'register' => 'App\Views\Auth\register',
 
'forgot'   => 'App\Views\Auth\forgot',
 
'reset'   => 'App\Views\Auth\reset',
 
'emailForgot' => 'App\Views\Auth\emails\forgot',
 
'emailActivation' => 'App\Views\Auth\emails\activation',
 ];
 
public 
$viewLayout 'App\Views\Auth\layout'
Reply


Messages In This Thread
Myth:Auth - Views location - by BilltheCat - 03-26-2021, 02:05 PM
RE: Myth:Auth - Views location - by BilltheCat - 03-27-2021, 02:53 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.