Welcome Guest, Not a member yet? Register   Sign In
CI 4 remove index.php
#5

(12-08-2020, 02:16 AM)demyr Wrote: You can try the steps here : Stackoverflow

The answer says:

Step 1: In public/ directory, copy index.php and .htaccess to your root project directory.
Step 2: In the root project directory, open index.php and edit the following line:
   
             index.php -> $pathsPath = FCPATH . '../app/Config/Paths.php';
to
            index.php => $pathsPath = FCPATH . 'app/Config/Paths.php';
I think this is not the correct way to delete an index.php by modifying the distribution.
Reply


Messages In This Thread
CI 4 remove index.php - by nurgaleevarman - 12-07-2020, 01:38 AM
RE: CI 4 remove index.php - by captain-sensible - 12-07-2020, 01:21 PM
RE: CI 4 remove index.php - by demyr - 12-08-2020, 02:16 AM
RE: CI 4 remove index.php - by nurgaleevarman - 12-28-2020, 09:44 PM
RE: CI 4 remove index.php - by CsurveyVN - 03-14-2022, 12:34 AM
RE: CI 4 remove index.php - by paliz - 12-08-2020, 09:29 AM
RE: CI 4 remove index.php - by InsiteFX - 12-29-2020, 12:29 PM
RE: CI 4 remove index.php - by boddah85 - 11-08-2022, 02:11 AM
RE: CI 4 remove index.php - by thinkstartpl - 01-26-2021, 11:51 PM
RE: CI 4 remove index.php - by Jalapeno - 02-07-2022, 06:59 AM
RE: CI 4 remove index.php - by ClaudeSjDevinHenry - 03-03-2022, 04:44 AM
RE: CI 4 remove index.php - by Kenn38 - 03-03-2022, 09:39 PM
RE: CI 4 remove index.php - by ikesela - 11-08-2022, 06:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB