Baikal\Framework::installTool PHP Méthode

installTool() static public méthode

static public installTool ( )
    static function installTool()
    {
        if (defined("BAIKAL_CONTEXT_INSTALL") && BAIKAL_CONTEXT_INSTALL === true) {
            # Install tool has been launched and we're already on the install page
            return;
        } else {
            # Install tool has been launched; redirecting user
            $sInstallToolUrl = PROJECT_URI . "admin/install/";
            header("Location: " . $sInstallToolUrl);
            exit(0);
        }
    }