There are n number of functions in laravel 4.x which is used to define path that are
app_path:
app_path is a function which is used to get the fully qualified path of the app directory.
Example:
$path = app_path();
base_path:
base_path is a function which is used to get the fully qualified path of the root of the application install.
Example:
$path = base_path();
storage_path:
storage_path is a function which is used to get the fully qualified path of the app/storage directory.
Example:
$path = storage_path();
0 Comment(s)