429ba64e ^
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php if (!isLocalExecution()) die('Nope'); if ($argc < 3) die("Not enough parameters"); switch ($argc[1]) { case 'info': EventLog::info($argc[2]); break; case 'warning': EventLog::warning($argc[2]); break; case 'failure': EventLog::failure($argc[2]); break; }