util 클래스 명을 PSR1에 맞게 Util로 재 명명
This commit is contained in:
@@ -10,9 +10,9 @@ require(__DIR__.'/../f_config/SETTING.php');
|
||||
session_start();
|
||||
session_destroy();
|
||||
|
||||
$username = mb_strtolower(util::array_get($_POST['username']), 'utf-8');
|
||||
$password = util::array_get($_POST['password']);
|
||||
$nickname = util::array_get($_POST['nickname']);
|
||||
$username = mb_strtolower(Util::array_get($_POST['username']), 'utf-8');
|
||||
$password = Util::array_get($_POST['password']);
|
||||
$nickname = Util::array_get($_POST['nickname']);
|
||||
|
||||
if(!$username || !$password || !$nickname){
|
||||
Json::die([
|
||||
|
||||
@@ -20,12 +20,12 @@ function dbSQLFail($params){
|
||||
]);
|
||||
}
|
||||
|
||||
$host = util::array_get($_POST['db_host']);
|
||||
$port = util::array_get($_POST['db_port']);
|
||||
$username = util::array_get($_POST['db_id']);
|
||||
$password = util::array_get($_POST['db_pw']);
|
||||
$dbName = util::array_get($_POST['db_name']);
|
||||
$servHost = util::array_get($_POST['serv_host']);
|
||||
$host = Util::array_get($_POST['db_host']);
|
||||
$port = Util::array_get($_POST['db_port']);
|
||||
$username = Util::array_get($_POST['db_id']);
|
||||
$password = Util::array_get($_POST['db_pw']);
|
||||
$dbName = Util::array_get($_POST['db_name']);
|
||||
$servHost = Util::array_get($_POST['serv_host']);
|
||||
|
||||
if(!$host || !$port || !$username || !$password || !$dbName || !$servHost){
|
||||
Json::die([
|
||||
|
||||
Reference in New Issue
Block a user