Extend · Mecha CMS

Working with extensions.

$extend::exist()

Return the folder path of current extension folder if exists.

$extend::state()

Return the stored extension states if any, otherwise, return $fail.