code/LiveFilesystemPublisher.php
public function publishPages($urls)
    {
        LivePubHelper::init_pub();
        $r = $this->realPublishPages($urls);
        LivePubHelper::stop_pub();
        return $r;
    }
public function publishPages($urls)
    {
        LivePubHelper::init_pub();
        $r = $this->realPublishPages($urls);
        LivePubHelper::stop_pub();
        return $r;
    }
Wrapper for parent funciton. Switches on and off livepub publishing.

@param  array $urls Relative URLs
@return array Result, keyed by URL. Keys:
- "statuscode": The HTTP status code
- "redirect": A redirect location (if applicable)
- "path": The filesystem path where the cache has been written