CodeIgniter Composer Installer |
(05-28-2015, 10:59 AM)calcio Wrote: Hi kenjis I tried get this install but it was downloaded whitout the index.php file. Is it normal? I tried to copy the default index.php file from a normal CI3, but it's show an error. No, it is not normal. Maybe you misunderstand the folder structure. This installer changes web root for the best security. http://www.codeigniter.com/user_guide/in...index.html > For the best security, both the system and any application folders should be placed above web root so that they are not directly accessible via a browser. Web root is `public/` folder. So there is `index.php`. Code: $ composer create-project kenjis/codeigniter-composer-installer codeigniter If you use PHP 5.4 or later, you can use PHP built-in web server. Code: $ php -S localhost:8000 -t public/ bin/router.php And go to `http://localhost:8000/`. If you use web server like Apache, set your web root as `codeigniter/public/`. |
Welcome Guest, Not a member yet? Register Sign In |