Don't show the public folder when calling my project |
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
Make sure public is removed from your url.
PHP Code: // should be - your server path with an ending /. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
I'm working on a project where I needed to pull license keys from an external API and display them in the admin panel. I decided to implement it on CI4 - I used a RESTful controller, cURL requests and token validation. Everything turned out quite clean and fast.Interestingly, the idea came when I was issuing a key for software via https://ggsel.net/ - they have a conveniently implemented purchase history with API responses in their interface. I wanted to do something similar for our internal cabinet.
If anyone is interested in the implementation - I can send code pieces, model connection and security scheme. I think this approach can be useful for any digital goods. |
Welcome Guest, Not a member yet? Register Sign In |