kenjis / codeigniter-composer-installer

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

Fixed bug that installation failed. #37

Closed ytetsuro closed 6 years ago

ytetsuro commented 6 years ago

In CodeIgniter4 project rewrite.php andserve are no longer placed in the project root directory by the following PR. Therefore, an error occurs in the code that is copying or editing.

https://github.com/bcit-ci/CodeIgniter4/pull/996

In the previous PR, it depended on the directory path in rewrite.php, butrewrite.php no longer depends on the directory path in the following PR.

https://github.com/bcit-ci/CodeIgniter4/pull/1105

As a result, this codeigniter-composer-installer no longer needs to copy and edit serve andrewrite.php.

kenjis commented 6 years ago

@ytetsuro It seems the installed CI4 does not work.

$ php spark 
PHP Warning:  require(system/bootstrap.php): failed to open stream: No such file or directory in /home/kenji/work/codeigniter/codeigniter4/spark on line 45
PHP Fatal error:  require(): Failed opening required 'system/bootstrap.php' (include_path='.:/usr/share/php') in /home/kenji/work/codeigniter/codeigniter4/spark on line 45
ytetsuro commented 6 years ago

Thanks. I created fix PR.

https://github.com/bcit-ci/CodeIgniter4/pull/1108