Cleanup: Delete rogue exit() call from raw action

This commit is contained in:
Starbeamrainbowlabs 2016-10-18 18:47:41 +01:00
parent 9883b58379
commit eace10e497
3 changed files with 1 additions and 3 deletions

View File

@ -1624,7 +1624,6 @@ register_module([
header("content-type: text/markdown");
exit(file_get_contents($env->page_filename));
exit();
});
add_help_section("800-raw-page-content", "Viewing Raw Page Content", "<p>Although you can use the edit page to view a page's source, you can also ask $settings->sitename to send you the raw page source and nothing else. This feature is intented for those who want to automate their interaction with $settings->sitename.</p>

View File

@ -23,7 +23,7 @@
"author": "Starbeamrainbowlabs",
"description": "Adds a 'raw' action that shows you the raw source of a page.",
"id": "action-raw",
"lastupdate": 1476812652,
"lastupdate": 1476812825,
"optional": false
},
{

View File

@ -28,7 +28,6 @@ register_module([
header("content-type: text/markdown");
exit(file_get_contents($env->page_filename));
exit();
});
add_help_section("800-raw-page-content", "Viewing Raw Page Content", "<p>Although you can use the edit page to view a page's source, you can also ask $settings->sitename to send you the raw page source and nothing else. This feature is intented for those who want to automate their interaction with $settings->sitename.</p>