Replace removed paths.php file

Replace $paths['public'] with public_path() method.