Browse Source

Update htmly.php

pull/674/head
danpros 1 year ago
parent
commit
54823b1003
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      system/htmly.php

+ 6
- 2
system/htmly.php View File

@ -428,8 +428,12 @@ get('/front/edit', function () {
// Show the "Add content" page
get('/add/content', function () {
$req = _h($_GET['type']);
if (isset($_GET['type'])) {
$req = _h($_GET['type']);
} else {
$req = 'post';
}
$type = 'is_' . $req;
if (login()) {


Loading…
Cancel
Save