Welcome Guest, Not a member yet? Register   Sign In
Don't show the public folder when calling my project
#1

(This post was last modified: 12-28-2024, 09:04 AM by camarjhoa.)

Greetings, I am writing in order to be guided to make my project stop calling the public folder, since I only need it to appear like this: 127.0.0.1/mi_proyecto/ and for it to work I must call it 127.0.0.1/mi_proyecto/public
Reply
#2

Make sure public is removed from your url.
PHP Code:
// should be - your server path with an ending /.
public string $baseURL 'http://mi_proyecto.local/';

// should be
public string $indexPage '';

All files should be placed in the root of the server.

If 
you change the path then you will need to edit and change it in index,php and spark
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB