misc_pterodactyl-panel/app/Traits/Controllers/PlainJavascriptInjection.php

17 lines
250 B
PHP
Raw Permalink Normal View History

<?php
namespace Pterodactyl\Traits\Controllers;
use JavaScript;
trait PlainJavascriptInjection
{
/**
* Injects statistics into javascript.
*/
public function injectJavascript($data)
{
2022-11-29 17:53:59 +00:00
\JavaScript::put($data);
}
}