|
@@ -15,6 +15,7 @@ if (core::ifPost("from") AND core::getPost("from") == "document") {
|
|
|
$location = "/document-". core::getPost("id") .".html";
|
|
$location = "/document-". core::getPost("id") .".html";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ json::create("documents");
|
|
|
document::cleanOrphanTags();
|
|
document::cleanOrphanTags();
|
|
|
|
|
|
|
|
header("Location: " . $location);
|
|
header("Location: " . $location);
|