So, here is the thing, when I use
dirname(__FILE__) I expect it to find the path on its own, which it works, however, it has the wrong directory.
What do I mean by that?
Take a look at that path, what it should be is this:
Note the difference being at
resources/views - I don’t understand they sage? Has the wrong directory when using a dynamic path.
Otherwise, how will I tell the file to search the path on its own? So far this is annying because I need to comment this each time I push the change, and then change it back so it works on localhost, and its in multiple files I have to do this.