We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfae876 commit b61a220Copy full SHA for b61a220
index.php
@@ -412,7 +412,10 @@ function replaceVariables($str){
412
413
414
// process sitemap.xml
415
-if(FULL_REQUEST === 'sitemap.xml') include('sitemap.php');
+if(FULL_REQUEST === 'sitemap.xml'){
416
+ respondWithFile('sitemap.php'); // in root
417
+ return;
418
+}
419
420
421
// all other files including PHP files
0 commit comments