갤러리 스킨 수정 및 일부 코드 수정
This commit is contained in:
1 parent
1afb5a76ca
commit
a402501c6f
11 files changed
+210
-151
No files matched your search
@@ -44,6 +44,14 @@ function get_social_convert_id($identifier, $service)
|
||||
return strtolower($service).'_'.hash('adler32', md5($identifier));
|
||||
}
|
||||
|
||||
function get_social_callbackurl($provider){
|
||||
|
||||
$base_url = SOCIAL_LOGIN_BASE_URL;
|
||||
$base_url = $base_url . ( strpos($base_url, '?') ? '&' : '?' ).G5_SOCIAL_LOGIN_DONE_PARAM.'='.$provider;
|
||||
|
||||
return $base_url;
|
||||
}
|
||||
|
||||
function social_return_from_provider_page( $provider, $login_action_url, $mb_id, $mb_password, $url, $use_popup=2 ){
|
||||
|
||||
$ref = $_SERVER['HTTP_REFERER'];
|
||||
|
||||
@@ -10,6 +10,11 @@
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
include_once('_common.php');
|
||||
|
||||
if( ! $config['cf_social_login_use']){
|
||||
die("소셜로그인을 사용하지 않습니다.");
|
||||
}
|
||||
|
||||
require_once( "includes/g5_endpoint.php" );
|
||||
|
||||
error_reporting(0); // Turn off all error reporting
|
||||
|
||||
Reference in new issue
Block a user