/** * Get/Set the site's initialization state. * * @param init. Defaults to null in which case we return the site * installation state. if non-null, it is the new site * initialization state. * * @returns mixed. */ public static function siteInitialized($init = null) { if ($init === null) { return self::$site_initialized; } else { self::$site_initialized = $init; } }