mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-09 12:34:08 +00:00
wip
This commit is contained in:
14
app/Traits/Shared.php
Normal file
14
app/Traits/Shared.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Traits;
|
||||
|
||||
use Illuminate\Support\Facades\Process;
|
||||
|
||||
trait Shared
|
||||
{
|
||||
public function get_workdir(string $type, string $resource_id, string $deployment_id)
|
||||
{
|
||||
$workdir = "/tmp/coolify/$type/{$resource_id}/{$deployment_id}/";
|
||||
return $workdir;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user