g4를 g5로 변경

This commit is contained in:
chicpro
2013-09-13 14:32:06 +09:00
parent 9a18a049d5
commit 0f78b67eb7
563 changed files with 4097 additions and 4097 deletions

View File

@ -1,6 +1,6 @@
<?php
include_once("./_common.php");
include_once(G4_SNS_PATH."/facebook/src/facebook.php");
include_once(G5_SNS_PATH."/facebook/src/facebook.php");
$facebook = new Facebook(array(
'appId' => $config['cf_facebook_appid'],
@ -18,8 +18,8 @@ if ($user) {
}
}
$g4['title'] = '페이스북 콜백';
include_once(G4_PATH.'/head.sub.php');
$g5['title'] = '페이스북 콜백';
include_once(G5_PATH.'/head.sub.php');
if ($user) {
$sns_name = $user_profile['name'];
@ -28,7 +28,7 @@ if ($user) {
set_cookie('ck_sns_name', $sns_name, 86400);
set_session('ss_facebook_user', $user);
$g4_sns_url = G4_SNS_URL;
$g5_sns_url = G5_SNS_URL;
echo <<<EOT
<script>
@ -37,7 +37,7 @@ if ($user) {
var opener = window.opener;
opener.$("#wr_name").val("{$sns_name}");
opener.$("#facebook_icon").attr("src", "{$g4_sns_url}/icon/facebook.png");
opener.$("#facebook_icon").attr("src", "{$g5_sns_url}/icon/facebook.png");
opener.$("#facebook_checked").attr("disabled", false);
opener.$("#facebook_checked").attr("checked", true);
window.close();
@ -58,5 +58,5 @@ EOT;
}
include_once(G4_PATH.'/tail.sub.php');
include_once(G5_PATH.'/tail.sub.php');
?>