Parent Directory
|
Revision Log
|
Revision Graph
|
Patch
| revision 1.5.2.38.2.55 by davereid, Sat Oct 3 21:57:32 2009 UTC | revision 1.5.2.38.2.56 by davereid, Sat Oct 3 22:38:22 2009 UTC | |
|---|---|---|
| # | Line 1 | Line 1 |
| 1 | <?php | <?php |
| 2 | // $Id: xmlsitemap.install,v 1.5.2.38.2.54 2009/09/01 18:35:53 davereid Exp $ | // $Id: xmlsitemap.install,v 1.5.2.38.2.55 2009/10/03 21:57:32 davereid Exp $ |
| 3 | ||
| 4 | /** | /** |
| 5 | * @file | * @file |
| # | Line 97 function xmlsitemap_install() { | Line 97 function xmlsitemap_install() { |
| 97 | // Insert the homepage link into the {xmlsitemap} table so we do not show an | // Insert the homepage link into the {xmlsitemap} table so we do not show an |
| 98 | // empty sitemap after install. | // empty sitemap after install. |
| 99 | db_query("INSERT INTO {xmlsitemap} (type, id, loc, priority, changefreq) VALUES ('frontpage', 0, '', %f, %d)", xmlsitemap_var('frontpage_priority'), xmlsitemap_var('frontpage_changefreq')); | db_query("INSERT INTO {xmlsitemap} (type, id, loc, priority, changefreq) VALUES ('frontpage', 0, '', %f, %d)", xmlsitemap_var('frontpage_priority'), xmlsitemap_var('frontpage_changefreq')); |
| 100 | ||
| 101 | // @todo Does the sitemap show up on first install or is it a 404 page? | |
| 102 | //variable_set('xmlsitemap_regenerate_needed', TRUE); | |
| 103 | //xmlsitemap_cron(); | |
| 104 | } | } |
| 105 | ||
| 106 | /** | /** |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.6 |