11-03-2016, 06:51 AM
Ok here's how I fixed it. In my usersc/login.php override,
Instead of:
require_once ‘../users/init.php’;
Redirect::to(‘../dashboard/login.php’);
I put:
require_once '../users/init.php';
$root = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'] . '/';
Redirect::to($root.'dashboard/login.php');
Props to @venedude for helping me understand what's going on.
Instead of:
require_once ‘../users/init.php’;
Redirect::to(‘../dashboard/login.php’);
I put:
require_once '../users/init.php';
$root = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'] . '/';
Redirect::to($root.'dashboard/login.php');
Props to @venedude for helping me understand what's going on.