We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4280cc commit 3774f66Copy full SHA for 3774f66
changelog/next.md
@@ -0,0 +1 @@
1
+- **Improvement**: Move status.json file out of package and into storage
src/Services/JsonService.php
@@ -11,7 +11,12 @@ class JsonService
11
12
public function __construct()
13
{
14
- $this->file = config('adminui-installer.root') . '/resources/status.json';
+ $oldPath = config('adminui-installer.root') . '/resources/status.json';
15
+ $path = storage_path('app/adminui-installer/status.json');
16
+ if (file_exists($oldPath)) {
17
+ Storage::move($oldPath, $path);
18
+ }
19
+ $this->file = $path;
20
$this->checkStatusFile();
21
}
22
0 commit comments