4ac2930ab1
Attempt at supporting Docker.
27 lines
538 B
PHP
27 lines
538 B
PHP
<?php
|
|
|
|
namespace Pterodactyl\Services\Helpers;
|
|
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
|
|
|
|
class BlueprintPlaceholderService
|
|
{
|
|
// Construct BlueprintPlaceholderService
|
|
public function __construct(
|
|
private SettingsRepositoryInterface $settings,
|
|
) {
|
|
}
|
|
|
|
// $bp->version()
|
|
public
|
|
function version(): string {
|
|
$v = "&bp.version&";
|
|
return $v;
|
|
}
|
|
|
|
// $bp->folder()
|
|
public
|
|
function folder(): string {
|
|
$v = "&bp.folder&";
|
|
return $v;
|
|
}
|
|
}
|