Unisharp\Laravelfilemanager\controllers\LfmController::checkDefaultFolderExists PHP Method

checkDefaultFolderExists() private method

*************************** ** Private Functions *** ***************************
private checkDefaultFolderExists ( $type = 'share' )
    private function checkDefaultFolderExists($type = 'share')
    {
        if ($type === 'user' && \Config::get('lfm.allow_multi_user') !== true) {
            return;
        }
        $path = $this->getPath($type);
        if (!File::exists($path)) {
            File::makeDirectory($path, $mode = 0777, true, true);
        }
    }