Update ListInstallations.php
This commit is contained in:
parent
b844aeb845
commit
599e58f70e
1 changed files with 5 additions and 6 deletions
|
@ -25,15 +25,14 @@ class ListInstallations extends ListRecords
|
|||
$findWebsites = Website::all();
|
||||
foreach ($findWebsites as $website) {
|
||||
|
||||
dd(file_put_contents('test.txt', 'test'));
|
||||
|
||||
|
||||
dd(file_put_contents($website->domain_public. '/test.txt', 'test'));
|
||||
|
||||
$scan = new MicroweberInstallationsScanner();
|
||||
$scan->setPath($website->domain_public);
|
||||
$installations = $scan->scanRecusrive();
|
||||
|
||||
if (!empty($installations)) {
|
||||
foreach ($installations as $installation) {
|
||||
dd($installation);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue