mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
ptgen api point support parameter & default user
This commit is contained in:
@@ -272,7 +272,7 @@ if (!$row) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($row['pt_gen'])) {
|
||||
if (get_setting('main.enable_pt_gen_system') == 'yes' && !empty($row['pt_gen'])) {
|
||||
$ptGen = new \Nexus\PTGen\PTGen();
|
||||
$ptGenResult = $ptGen->renderDetailsPageDescription($id, json_decode($row['pt_gen'], true));
|
||||
if ($ptGenResult['update']) {
|
||||
|
||||
Reference in New Issue
Block a user