mirror of https://github.com/itflow-org/itflow
Fix Regressions in Vendor Templates updated path from ../user/post to ../agent/post
This commit is contained in:
parent
956f18430b
commit
6e8c133a99
|
|
@ -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'])) {
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue