Fix Regressions in Vendor Templates updated path from ../user/post to ../agent/post

This commit is contained in:
johnnyq 2025-10-03 11:25:48 -04:00
parent 956f18430b
commit 6e8c133a99
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
defined('FROM_POST_HANDLER') || die("Direct file access is not allowed");
// Import shared code from user-side vendor management as we reuse functions
require_once '../user/post/vendor.php';
require_once '../agent/post/vendor.php';
if (isset($_POST['add_vendor_template'])) {

View File

@ -26,7 +26,7 @@ $module = str_ireplace('_details', '', $module);
// Dynamically load admin-related module POST logic
// Load all module POST logic
// Loads everything in post/user/
// Loads everything in post
// Eventually, it would be nice to only specifically load what we need like we do for admins
foreach (glob("post/*.php") as $user_module) {