bramus / mixed-content-scan

Scan your HTTPS-enabled website for Mixed Content
MIT License
522 stars 51 forks source link

Check for php_sapi_name should be adapted to new PHP versions #70

Open stefahn opened 6 years ago

stefahn commented 6 years ago

In my environment (PHP 7.1.9 cgi-fcgi) php_sapi_name() returns fpm-fcgi. So in my opinion the check for cli on line 14 should be adapted (maybe so it checks if cli is contained within php_sapi_name()).