ニジカもんすたぁ!! トップ・ページ https://nizika.monster
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
388 B

  1. <?php
  2. if ($_SERVER['HTTP_HOST'] === 'nizika.monster')
  3. header ('location: //nizika.tv');
  4. const LOG_PATH = './log.txt';
  5. $log_data = [];
  6. exec (("(ps -Af | grep -e '^miteruzo' | grep 'python3 main.py')"
  7. . " && (ps -Af | grep -e '^miteruzo' | grep 'obs')"),
  8. $output, $exit_code);
  9. $available = $exit_code === 0;
  10. unset ($output, $exit_code);
  11. require_once './index.frm.php';