라라벨 storage path()

public_path() {.collection-method} public_path 함수는 public 디렉토리에 대한 절대 경로를 반환합니다. public_path 함수를 사용하여, 애플리케이션의 public 디렉토리 안에 있는 파일에 대한 절대 경로를 생성할 수도 있습니다.

$path = public_path();

$path = public_path('css/app.css');

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}