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

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wordpres.../vendor/composer
File: ClassLoader.php
while (false !== $lastPos = strrpos($subPath, '\\')) {
[500] Fix | Delete
$subPath = substr($subPath, 0, $lastPos);
[501] Fix | Delete
$search = $subPath . '\\';
[502] Fix | Delete
if (isset($this->prefixDirsPsr4[$search])) {
[503] Fix | Delete
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
[504] Fix | Delete
foreach ($this->prefixDirsPsr4[$search] as $dir) {
[505] Fix | Delete
if (file_exists($file = $dir . $pathEnd)) {
[506] Fix | Delete
return $file;
[507] Fix | Delete
}
[508] Fix | Delete
}
[509] Fix | Delete
}
[510] Fix | Delete
}
[511] Fix | Delete
}
[512] Fix | Delete
[513] Fix | Delete
// PSR-4 fallback dirs
[514] Fix | Delete
foreach ($this->fallbackDirsPsr4 as $dir) {
[515] Fix | Delete
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
[516] Fix | Delete
return $file;
[517] Fix | Delete
}
[518] Fix | Delete
}
[519] Fix | Delete
[520] Fix | Delete
// PSR-0 lookup
[521] Fix | Delete
if (false !== $pos = strrpos($class, '\\')) {
[522] Fix | Delete
// namespaced class name
[523] Fix | Delete
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
[524] Fix | Delete
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
[525] Fix | Delete
} else {
[526] Fix | Delete
// PEAR-like class name
[527] Fix | Delete
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
[528] Fix | Delete
}
[529] Fix | Delete
[530] Fix | Delete
if (isset($this->prefixesPsr0[$first])) {
[531] Fix | Delete
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
[532] Fix | Delete
if (0 === strpos($class, $prefix)) {
[533] Fix | Delete
foreach ($dirs as $dir) {
[534] Fix | Delete
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
[535] Fix | Delete
return $file;
[536] Fix | Delete
}
[537] Fix | Delete
}
[538] Fix | Delete
}
[539] Fix | Delete
}
[540] Fix | Delete
}
[541] Fix | Delete
[542] Fix | Delete
// PSR-0 fallback dirs
[543] Fix | Delete
foreach ($this->fallbackDirsPsr0 as $dir) {
[544] Fix | Delete
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
[545] Fix | Delete
return $file;
[546] Fix | Delete
}
[547] Fix | Delete
}
[548] Fix | Delete
[549] Fix | Delete
// PSR-0 include paths.
[550] Fix | Delete
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
[551] Fix | Delete
return $file;
[552] Fix | Delete
}
[553] Fix | Delete
[554] Fix | Delete
return false;
[555] Fix | Delete
}
[556] Fix | Delete
}
[557] Fix | Delete
[558] Fix | Delete
/**
[559] Fix | Delete
* Scope isolated include.
[560] Fix | Delete
*
[561] Fix | Delete
* Prevents access to $this/self from included files.
[562] Fix | Delete
*
[563] Fix | Delete
* @param string $file
[564] Fix | Delete
* @return void
[565] Fix | Delete
* @private
[566] Fix | Delete
*/
[567] Fix | Delete
function includeFile($file)
[568] Fix | Delete
{
[569] Fix | Delete
include $file;
[570] Fix | Delete
}
[571] Fix | Delete
[572] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function