Welcome Guest, Not a member yet? Register   Sign In
myth: links in views are displayed wrong
#1

(This post was last modified: 03-11-2020, 02:14 PM by muuucho.)

I am trying to get familiar with myth/auth. I have installed it and when I visit the login page, the links in that view are missing my project's name in the url: Register goes to 'localhost/register' instead of 'localhost/my-project/register'.

I guess the problem is my setup.
In app.php I have set 
Code:
public $baseURL = 'http://localhost/my-project/';
public $indexPage = '';
I've also moved index and .htaccess to the root. In index.php I 've set:
Code:
$pathsPath = FCPATH . 'app/Config/Paths.php';
In the view the link holds a route_to() method. About there I am lost.
Reply


Messages In This Thread
myth: links in views are displayed wrong - by muuucho - 03-11-2020, 10:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB