|
|
@ -111,7 +111,7 @@
|
|
|
|
empty($comment) ? NULL : htmlspecialchars($comment),
|
|
|
|
empty($comment) ? NULL : htmlspecialchars($comment),
|
|
|
|
empty($target) ? NULL : basename($target)
|
|
|
|
empty($target) ? NULL : basename($target)
|
|
|
|
];
|
|
|
|
];
|
|
|
|
webhook($params[1], $params[2], 'http://' . $_SERVER['SERVER_NAME'] . dirname($_SERVER['PHP_SELF']) . '/' . $target); // Send to discord for moderation
|
|
|
|
webhook($params[1], $params[2], 'http://' . $_SERVER['SERVER_NAME'] . dirname($_SERVER['PHP_SELF']) . $target); // Send to discord for moderation
|
|
|
|
pg_query_params($query, $params) or die('Query failed: ' . pg_last_error());
|
|
|
|
pg_query_params($query, $params) or die('Query failed: ' . pg_last_error());
|
|
|
|
|
|
|
|
|
|
|
|
return ""; // Success, no error
|
|
|
|
return ""; // Success, no error
|
|
|
|