file_get_contents creating errors when disabled on the server
-
Hello,
Would it be possible to remove the use of file_get_contents to prevent PHP warnings when allow_url_fopen is disabled on the server for tightened security.
The request is made in the wpscan/views/report.php file on line 11 to the logo.svg file. I see the svg file is requested in settings.php but is requested directly there.
Perhaps that could be updated to match the settings.php request:
<?php echo ‘<h1></h1>’; ?>
Instead of:
<?php echo file_get_contents( plugin_dir_url( dirname( __FILE__ ) ) . ‘assets/svg/logo.svg’); ?>
- The topic ‘file_get_contents creating errors when disabled on the server’ is closed to new replies.