Browse Source

fix: process module missing logger

master
Dnomd343 2 years ago
parent
commit
8c5cb21641
  1. 18
      nginx/kms.conf
  2. 2
      src/Process.php

18
nginx/kms.conf

@ -1,18 +0,0 @@
server {
listen 1689;
listen [::]:1689 ipv6only=on;
location /assets {
root /kms-server;
}
location / {
include fastcgi_params;
fastcgi_pass unix:/run/php-fpm.sock;
if ($http_user_agent ~* (curl|wget)) {
set $cli_mode "true";
}
fastcgi_param KMS_CLI $cli_mode;
fastcgi_param SCRIPT_FILENAME /kms-server/src/Route.php;
}
}

2
src/Process.php

@ -1,5 +1,7 @@
<?php <?php
require_once 'Logger.php';
class Process { class Process {
private $process; private $process;
public int $pid = -1; public int $pid = -1;

Loading…
Cancel
Save