Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/filemang...
File: read_image.php
<?php
[0] Fix | Delete
[1] Fix | Delete
const ACCESS = true;
[2] Fix | Delete
[3] Fix | Delete
include_once 'function.php';
[4] Fix | Delete
[5] Fix | Delete
$path = isset($_GET['path']) && !empty($_GET['path']) ? rawurldecode($_GET['path']) : null;
[6] Fix | Delete
[7] Fix | Delete
if (
[8] Fix | Delete
IS_LOGIN
[9] Fix | Delete
&& is_file($path)
[10] Fix | Delete
&& isPathNotPermission($path) == false
[11] Fix | Delete
&& getimagesize($path) !== false
[12] Fix | Delete
) {
[13] Fix | Delete
readfile($path);
[14] Fix | Delete
} else {
[15] Fix | Delete
die ('Not read image');
[16] Fix | Delete
}
[17] Fix | Delete
[18] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function