protected function normalizeFilename($path) { if (file_exists($path)) { $path = realpath($path); } return str_replace(base_path(), '', $path); }