config.php push 안되는 문제로 twitter/config.php 를 twitter/twitterconfig.php 로 파일명 변경

This commit is contained in:
gnuboard
2013-05-28 16:30:20 +09:00
parent 3c311fa669
commit 04810bb8f9
7 changed files with 16 additions and 6 deletions

View File

@ -9,7 +9,7 @@ include_once("./_common.php");
/**
* Exit with an error message if the CONSUMER_KEY or CONSUMER_SECRET is not defined.
*/
require_once(G4_SNS_PATH.'/twitter/config.php');
require_once(G4_SNS_PATH.'/twitter/twitterconfig.php');
if (CONSUMER_KEY === '' || CONSUMER_SECRET === '' || CONSUMER_KEY === 'CONSUMER_KEY_HERE' || CONSUMER_SECRET === 'CONSUMER_SECRET_HERE') {
echo 'You need a consumer key and secret to test the sample code. Get one from <a href="https://dev.twitter.com/apps">dev.twitter.com/apps</a>';
exit;