Skip to content

Commit

Permalink
No server path
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Nov 9, 2023
1 parent 58354d8 commit 2e01a03
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/reactor/src/ReactorPackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ function (

protected function addMainFileToServers(string $engine, string $name, string $file, IOInterface $io): void
{
$filePath = Str::removeLeft(
Path::normalize(WINDWALKER_SERVERS . '/' . $file, '/'),
Path::normalize(WINDWALKER_ROOT, '/')
);
$filePath = 'servers/' . $file;
$filePath = ltrim($filePath, '/');
$registryFile = WINDWALKER_RESOURCES . '/registry/servers.php';

Expand Down

0 comments on commit 2e01a03

Please sign in to comment.