kenjis / codeigniter-composer-installer

Installs the offical CodeIgniter 3 with secure folder structure via Composer
MIT License
377 stars 118 forks source link

Fix PHP mkdir permission issues on application/logs #13

Closed indrakaw closed 7 years ago

indrakaw commented 7 years ago

I'm having error after composer install at core/logs dir. This error: screenshot from 2017-01-28 15-04-16

This happens because PHP unable to create directory logs/ in applications/`.

CI's .gitignore is referenced from: https://github.com/github/gitignore/blob/master/CodeIgniter.gitignore

kenjis commented 7 years ago

@indrakaw Thank you for your PR.

I've fixed it with a bit different way: https://github.com/kenjis/codeigniter-composer-installer/commit/f4884fd0e0f8bd85d238968ebef5a2782669e0f2

Now .gitignore is the exact same as CI's.

If you have still a problem, feel free to notice me.

kenjis commented 7 years ago

@indrakaw I added code to copy .gitignore from CodeIgniter: https://github.com/kenjis/codeigniter-composer-installer/commit/835583ea9d3d53b7626284fc0f3dcb036767febe

indrakaw commented 7 years ago

COOL! This is what I wanted. :+1: