diff options
author | Michael Hamann <michael@content-space.de> | 2010-06-26 13:33:46 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2010-09-22 17:55:07 +0200 |
commit | 2897eb23759202676f5447a72d7fe5eb68321ce3 (patch) | |
tree | ed9c79e2b77c2e0d979da54bbcfe3468d5e0b287 /inc/actions.php | |
parent | c4f79b71351dd0d96f19f7c5629888d85a814c72 (diff) | |
download | rpg-2897eb23759202676f5447a72d7fe5eb68321ce3.tar.gz rpg-2897eb23759202676f5447a72d7fe5eb68321ce3.tar.bz2 |
Transformed the sitemapper into a class
This makes it possible to autoload the sitemapper when needed.
Diffstat (limited to 'inc/actions.php')
-rw-r--r-- | inc/actions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/actions.php b/inc/actions.php index 2d70ac8ed..12c4c595f 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -615,8 +615,7 @@ function act_sitemap($act) { // Check if sitemap file exists, otherwise create it if (!is_readable($sitemap)) { - require_once DOKU_INC.'inc/sitemap.php'; - sitemapGenerate(); + Sitemapper::generate(); } if (is_readable($sitemap)) { |