/** * Compression GZ + ping Google */ private function compressedGooglePing($create) { $sitemap = new magixcjquery_xml_sitemap(); if (!extension_loaded('zlib')) { $sitemap->sendSitemapGoogle(substr(magixcjquery_html_helpersHtml::getUrl(), 7), 'sitemap.xml'); } else { $this->compressed(); $sitemap->sendSitemapGoogle(substr(magixcjquery_html_helpersHtml::getUrl(), 7), 'sitemap.xml.gz'); } $this->message->getNotify('pinguer'); }