Initial commit of v2 code

This commit is contained in:
Andy Dixon
2024-09-18 20:30:21 +01:00
parent 08def89313
commit 7bf6d31693
220 changed files with 7669 additions and 21793 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
require_once "../neoCMSCore.php";
require_once "../init.php";
switch ($_REQUEST["action"]) {
case "save":
if(!empty($_POST['uri']) && !empty($_POST['content'])) {
$_SESSION['core']->saveContent($_POST['uri'], $_POST['content']);
die("Page Updated.");
} else {
die('Unable to save page');
}
break;
};