Method: dir::make

Creates a new directory

Info

Syntax

dir::make($dir)

Parameters

Return (boolean)

True: the dir has been created, false: creating failed

Example


$create = dir::make('/app/test/new-directory');

if($create) echo 'the directory has been created';