Ejemplo: laravel obtiene URL de ruta pública
// Path to the project's root folder
echo base_path();
// Path to the 'app' folder
echo app_path();
// Path to the 'public' folder
echo public_path();
// Path to the 'storage' folder
echo storage_path();
// Path to the 'storage/app' folder
echo storage_path('app');
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)