설치시 카카오 계정을 설치하라고 TODO로 넣어두기...만 함

This commit is contained in:
2018-03-18 23:11:31 +09:00
parent 102dff43f4
commit 95021f0887
3 changed files with 9 additions and 3 deletions
+1
View File
@@ -131,6 +131,7 @@ use utilphp\util as util;
</div>
</div><!--ADMIN 폼 끝-->
<!-- TODO: conf_kakao.php -->
</div>
</div>
-1
View File
@@ -52,7 +52,6 @@ $(document).ready( function () {
alert(obj.reason);
}
else{
alert('로그인!');
window.location.href = 'i_entrance/entrance.php';
}
+8 -2
View File
@@ -1,12 +1,18 @@
<?php
require(__DIR__.'/../d_setting/conf_kakao.php');
if ((@include(__DIR__.'/../d_setting/conf_kakao.php')) === false) {
class KakaoKey{
const REST_KEY = '';
const ADMIN_KEY = '';
const REDIRECT_URI = '';
}
}
//https://devtalk.kakao.com/t/php-rest-api/14602/3
//header('Content-Type: application/json; charset=utf-8');
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////