Welcome Guest, Not a member yet? Register   Sign In
CI3 - place index not in top directory [SOLVED]

(This post was last modified: 06-23-2022, 04:29 PM by TheAdmiral.)

Hey there. I've got a couple different places I put my CI3 website. One of them (a version I use for testing) is at http://localhost/Folder1/Folder2/Folder3/. Having all those folders between localhost and the index.php file is confusing CodeIgniter and is resulting in it detecting the class as Folder1 and the method as Folder2.

So for example http://localhost/Folder1/Folder2/Folder3/class/method should be [class=class, method=method], not [class=Folder1, method=Folder2]

Is there a way to fix this without changing my directory structure? Help much appreciated.

Messages In This Thread
CI3 - place index not in top directory [SOLVED] - by TheAdmiral - 06-22-2022, 04:58 AM

Theme © iAndrew 2016 - Forum software by © MyBB