Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit 7e1a9cb

Browse files
authored
Merge pull request #88 from swooletw/develop
fix sandbox enable
2 parents 32102cf + 82b0913 commit 7e1a9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server/Sandbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ public function getLaravelApp()
295295
*/
296296
public function enable()
297297
{
298+
$this->enabled = true;
298299
$this->setInstance($app = $this->getLaravelApp());
299300
$this->resetLaravelApp($app);
300-
$this->enabled = true;
301301
}
302302

303303
/**

0 commit comments

Comments
 (0)