1
0
mirror of https://github.com/github/gitignore synced 2024-11-22 19:54:22 +01:00
gitignore/CodeIgniter.gitignore
ShinProg (Logan Tann) 44a9c3ebda
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
2021-07-17 14:19:06 +02:00

19 lines
352 B
Plaintext

*/config/development
*/logs/log-*.php
!*/logs/index.html
*/cache/*
!system/cache/*
!*/cache/index.html
!*/cache/.htaccess
user_guide_src/build/*
user_guide_src/cilexer/build/*
user_guide_src/cilexer/dist/*
user_guide_src/cilexer/pycilexer.egg-info/*
#codeigniter 3
application/logs/*
!application/logs/index.html
!application/logs/.htaccess
/vendor/