Even if YSFGateway is not enabled the dashboard tries to read the YSF configs and logs. That results in an error message in the logs of the web server:
--- %< ---
2016-07-19 12:01:24: (mod_fastcgi.c.2695) FastCGI-stderr: PHP Warning: fopen(/etc/YSFGateway//YSFGateway.ini): failed to open stream: No such file or directory in /var/www/include/functions.php on line 37
2016-07-19 12:01:24: (mod_fastcgi.c.2695) FastCGI-stderr: PHP Warning: fopen(/var/log/YSFGateway/YSFGateway-2016-07-19.log): failed to open stream: No such file or directory in /var/www/include/functions.php on line 114
--- %< ---
So I created PR #31 to only initialize the YSF Info if the Gateway is enabled. That should save from useless error messages :)
Even if YSFGateway is not enabled the dashboard tries to read the YSF configs and logs. That results in an error message in the logs of the web server:
--- %< --- 2016-07-19 12:01:24: (mod_fastcgi.c.2695) FastCGI-stderr: PHP Warning: fopen(/etc/YSFGateway//YSFGateway.ini): failed to open stream: No such file or directory in /var/www/include/functions.php on line 37 2016-07-19 12:01:24: (mod_fastcgi.c.2695) FastCGI-stderr: PHP Warning: fopen(/var/log/YSFGateway/YSFGateway-2016-07-19.log): failed to open stream: No such file or directory in /var/www/include/functions.php on line 114 --- %< ---
So I created PR #31 to only initialize the YSF Info if the Gateway is enabled. That should save from useless error messages :)