![]() |
Don't show the public folder when calling my project - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Don't show the public folder when calling my project (/showthread.php?tid=92237) |
Don't show the public folder when calling my project - camarjhoa - 12-28-2024 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 RE: Don't show the public folder when calling my project - InsiteFX - 12-29-2024 Make sure public is removed from your url. PHP Code: // should be - your server path with an ending /. RE: Don't show the public folder when calling my project - GGSel - 04-11-2025 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. |