Skip to content

Commit

Permalink
CRM_Utils_File::createDir - Better docs
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Feb 9, 2016
1 parent f7cc6e5 commit 7d8572e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CRM/Utils/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ public static function isHtml($name) {
* The path name.
* @param bool $abort
* Should we abort or just return an invalid code.
* @return bool|NULL
* NULL: Folder already exists or was not specified.
* TRUE: Creation succeeded.
* FALSE: Creation failed.
*/
public static function createDir($path, $abort = TRUE) {
if (is_dir($path) || empty($path)) {
Expand Down

0 comments on commit 7d8572e

Please sign in to comment.