config.php push 안되는 문제로 twitter/config.php 를 twitter/twitterconfig.php 로 파일명 변경
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user