starting to clean up this code

This commit is contained in:
biglyderv 2025-01-07 15:19:55 -05:00
parent 162bd9c8cb
commit 38075fd0c0
14 changed files with 103 additions and 98 deletions

View file

@ -1,5 +1,5 @@
<?php
require("../libs/markdown.php");
require(__DIR__ . "/markdown.php");
function comments($typer, $idr, $disable = false) {
$ref = 1732684297;
global $username;
@ -11,7 +11,7 @@
array('key' => '','type' => 'hidden','name' => 'type', 'default' => $typer),
array('key' => '','type' => 'hidden','name' => 'id', 'default' => $idr),
array('key' => 'Attachments', 'type' => 'file', 'name' => 'file', 'default' => '')
),'/index.php');
),'/api/comment.php');
}
$qs = parse_url($_SERVER['REQUEST_URI']);