Skip to content

Instantly share code, notes, and snippets.

@moloy666
Created November 7, 2023 10:16
Show Gist options
  • Save moloy666/281f48ba63500493289d4e0ac59993f6 to your computer and use it in GitHub Desktop.
Save moloy666/281f48ba63500493289d4e0ac59993f6 to your computer and use it in GitHub Desktop.
remove index.php from url in ci4
move .htaccess & index.php file from public folder to root folder
index.php changes
This line(Link no 34 or 35) =>
require FCPATH . '../app/Config/Paths.php';
To this => require FCPATH . 'app/Config/Paths.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment