diff --git a/src/Installer.php b/src/Installer.php index 6a752fe..8e68332 100644 --- a/src/Installer.php +++ b/src/Installer.php @@ -29,8 +29,6 @@ public static function postInstall(Event $event = null) self::recursiveCopy('vendor/codeigniter4/framework/writable', 'writable'); self::recursiveCopy('vendor/codeigniter4/framework/tests', 'tests'); copy('vendor/codeigniter4/framework/spark', 'spark'); - copy('vendor/codeigniter4/framework/rewrite.php', 'rewrite.php'); - copy('vendor/codeigniter4/framework/serve', 'serve'); copy('vendor/codeigniter4/framework/phpunit.xml.dist', 'phpunit.xml.dist'); copy('vendor/codeigniter4/framework/.gitignore', '.gitignore'); @@ -44,16 +42,6 @@ public static function postInstall(Event $event = null) ); file_put_contents($file, $contents); - // Fix paths in serve - $file = 'serve'; - $contents = file_get_contents($file); - $contents = str_replace( - 'require_once __DIR__.\'/system/', - 'require_once __DIR__.\'/vendor/codeigniter4/framework/system/', - $contents - ); - file_put_contents($file, $contents); - // Update composer.json copy('composer.json.dist', 'composer.json');