protected function searchFullPath($filename)
{
$paths = explode(PATH_SEPARATOR, get_include_path());
foreach ($paths as $path) {
$fullPath = $path . DIRECTORY_SEPARATOR . $filename;
if (true === @file_exists($fullPath)) {
return $fullPath;
}
}
return false;
}