SIGN IN SIGN UP
github / gitignore UNCLAIMED

A collection of useful .gitignore templates

173196 0 0 Ignore List

fixes CodeIgniter.gitignore deleting a critical system file

After spending a lot of time finding why my app won't run, just noticed that the gitignore I copied introduced a deletion/ignore rule of an internal folder used by the framework.
The current gitignore file deletes the folder `/system/Cache/*` and causes the following error when running the App from the CLI or the web server : `Class "CodeIgniter\Cache\CacheFactory" not found `; making the app unable to run.

I added the following rule to fix this : `!system/Cache/*`.

Note : this won't fix the bug if the system folder is renamed
S
ShinProg (Logan Tann) committed
44a9c3ebdad5d6f92995992ff55496509f0a4019
Parent: 991e760
Committed by GitHub <noreply@github.com> on 7/17/2021, 12:19:06 PM