forked from mirrors/easyappointments
Added examples at the comments
This commit is contained in:
parent
c117eda101
commit
0a6b596dec
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,10 @@ if ( ! function_exists('storage_path'))
|
|||
/**
|
||||
* Get the path to the storage folder.
|
||||
*
|
||||
* Example:
|
||||
*
|
||||
* $logs_path = storage_path('logs'); // Returns "/path/to/installation/dir/storage/logs"
|
||||
*
|
||||
* @param string $path
|
||||
*
|
||||
* @return string
|
||||
|
@ -31,6 +35,8 @@ if ( ! function_exists('base_path'))
|
|||
/**
|
||||
* Get the path to the base of the current installation.
|
||||
*
|
||||
* $controllers_path = base_path('application/controllers'); // Returns "/path/to/installation/dir/application/controllers"
|
||||
*
|
||||
* @param string $path
|
||||
*
|
||||
* @return string
|
||||
|
|
Loading…
Reference in a new issue