live link

This commit is contained in:
2023-10-16 15:36:28 +03:00
parent 46a91907be
commit 849267caa1
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace Lucent\Commands;
use DirectoryIterator;
use Illuminate\Console\Command;
class LiveLink extends Command
{
protected $signature = 'lucent:livelink';
protected $description = 'Create live folder link';
public function handle()
{
symlink(storage_path("lucent/live"), public_path("live"));
$this->info("public link was created");
}
}