Function attachments_init_dir
Return the first part of a path (i.e. c:\ or / + the first directory), used by automanage_attachments_create_directory
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Attachments.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Attachments.php
array |
& $tree |
An array |
integer |
& $count |
The number of elements in $tree |
string|boolean
|
The first part of the path or false on error |