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

17 lines
249 B
PHP
Raw Permalink Normal View History

<?php
namespace Pterodactyl\Traits\Controllers;
use JavaScript;
trait PlainJavascriptInjection
{
/**
* Injects statistics into javascript.
*/
public function injectJavascript($data)
{
JavaScript::put($data);
}
}