Create the needed directories when a new site is created.


  • Full name: create_site_directories
  • Defined in: cms/core/Shared/Helpers/site.php

Parameters

Parameter Type Description
$site \App\Domain\Site\Model\Site Site object.
$update bool Whether the site is being created or updated.

Return Value

bool

True on success or false on failure.