dbms_primeidc_init...1

This commit is contained in:
최준흠 2025-04-09 17:06:00 +09:00
parent 245f6c19d4
commit 2cb858d748
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<?php
//Database 정보
define('DATABASE_DRIVER', $_ENV['DATABASE_DRIVER'] ?? $_SERVER['DATABASE_DRIVER'] ?? 'mysql');
define('DATABASE_HOST', $_ENV['DATABASE_HOST'] ?? $_SERVER['DATABASE_HOST'] ?? 'localhost');
define('DATABASE_DB', $_ENV['DATABASE_DB'] ?? $_SERVER['DATABASE_DB'] ?? 'test');
@ -7,6 +7,10 @@ define('DATABASE_CHARSET', $_ENV['DATABASE_CHARSET'] ?? $_SERVER['DATABASE_CHARS
define('DATABASE_ID', $_ENV['DATABASE_ID'] ?? $_SERVER['DATABASE_ID'] ?? 'test');
define('DATABASE_PASSWORD', $_ENV['DATABASE_PASSWORD'] ?? $_SERVER['DATABASE_PASSWORD'] ?? 'test');
define('DATABASE_QUERY_DEBUG', $_ENV['DATABASE_QUERY_DEBUG'] ?? $_SERVER['DATABASE_QUERY_DEBUG'] ?? false);
//List관련
define('VIEW_LIST_PAGE', $_ENV['VIEW_LIST_PAGE'] ?? $_SERVER['VIEW_LIST_PAGE'] ?? 1);
define('VIEW_LIST_PERPAGE', $_ENV['VIEW_LIST_PERPAGE'] ?? $_SERVER['VIEW_LIST_PERPAGE'] ?? 20);
define('VIEW_LIST_PAGINATION_GROUPSIZE', $_ENV['VIEW_LIST_PAGINATION_GROUPSIZE'] ?? $_SERVER['VIEW_LIST_PAGINATION_GROUPSIZE'] ?? 10);
//DBMS Site정보

View File

@ -90,8 +90,8 @@ class PaymentController extends ClientController
$this->getServiceService()->getModel()->setContinue(true);
$this->total = $this->getServiceService()->getCount();
$this->entities = $this->getServiceService()->getEntities();
$this->page = $parmas['page'] ?? 1;
$this->perPage = $parmas['perPage'] ?? 10;
$this->page = $parmas['page'] ?? VIEW_LIST_PAGE;
$this->perPage = $parmas['perPage'] ?? VIEW_LIST_PERPAGE;
$this->pagination = new Pagination($this->total, (int)$this->page, (int)$this->perPage);
return $this->render(path: __FUNCTION__);
}