We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8afd7ac + 6ea5178 commit 8166c32Copy full SHA for 8166c32
CHANGELOG.md
@@ -14,6 +14,7 @@
14
* [Bug] Fixed footer lookup PHP error for sending emails
15
* [Bug] Fixed changelog format
16
* [Bug] Fixed styling on content management page (#20)
17
+* [API] Added API call for getting content management text
18
* [Project] Footers in the project are now generic
19
* [Project] Default configs do not reference UMA labels anymore
20
webroot/api/content/index.php
@@ -0,0 +1,17 @@
1
+<?php
2
+
3
+header('Content-type: text/plain');
4
5
+require_once "../../../resources/autoload.php";
6
7
+if (isset($_GET["line_wrap"])) {
8
+ $CHAR_WRAP = $_GET["line_wrap"];
9
+} else {
10
+ $CHAR_WRAP = 80;
11
+}
12
13
+if (!isset($_GET["content_name"])) {
+ die();
+echo $SQL->getPage($_GET["content_name"])["content"];
0 commit comments