public static function init_pub()
    {
        global $project;

        self::$is_publishing = true;

        // if we've set up a global static configuration, add that in
        $file = BASE_PATH . '/' . $project . '/_config_static.php';
        if (file_exists($file) && strpos(self::$base_init_code, $file) === false) {
            self::$base_init_code .= "\n<?php include_once('$file') ?>\n";
        }
    }