root/ip/tags/release_1_3_0_53/sitemap.php
| 111 | 163 | ||
|---|---|---|---|
404 | @chmod($sitemap_zip_file, 0777); | 404 | @chmod($sitemap_zip_file, 0777); |
405 | @unlink($sitemap_zip_file); | 405 | @unlink($sitemap_zip_file); |
406 | $archive = new zip_file($sitemap_zip_file); | 406 | $archive = new zip_file($sitemap_zip_file); |
407 | $archive->set_options(array('overwrite' => 1, 'storepaths' => 0, 'comment' => 'Sitemap of ' . $board_config['sitename'])); | 407 | $archive->set_options(array('overwrite' => 1, 'storepaths' => 0, 'comment' => 'Sitemap of ' . ip_stripslashes($board_config['sitename']))); |
408 | $archive->add_files($cache_data_file); | 408 | $archive->add_files($cache_data_file); |
409 | $archive->create_archive(); | 409 | $archive->create_archive(); |
410 | @chmod($sitemap_zip_file, 0666); | 410 | @chmod($sitemap_zip_file, 0666); |
Download diff