File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ RewriteEngine On
2+ RewriteCond %{REQUEST_FILENAME} !-f
3+ RewriteCond %{REQUEST_FILENAME} !-d
4+ RewriteRule ^(.*)$ index.php/$1 [L]
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ public static function postInstall(Event $event = null)
2727
2828 mkdir (static ::DOCROOT , 0755 );
2929 copy ('vendor/codeigniter/framework/index.php ' , static ::DOCROOT . '/index.php ' );
30-
30+ copy ('dot.htaccess ' , static ::DOCROOT . '/.htaccess ' );
31+
3132 // Fix paths in index.php
3233 $ file = static ::DOCROOT . '/index.php ' ;
3334 $ contents = file_get_contents ($ file );
@@ -59,6 +60,7 @@ public static function postInstall(Event $event = null)
5960 unlink (__FILE__ );
6061 rmdir ('src ' );
6162 unlink ('composer.json.dist ' );
63+ unlink ('dot.htaccess ' );
6264 unlink ('LICENSE.md ' );
6365 }
6466
You can’t perform that action at this time.
0 commit comments