require_once
This commit is contained in:
parent
c7c7d6a73e
commit
3e8d343a4b
|
@ -57,7 +57,7 @@ function fbes_process_events() {
|
||||||
|
|
||||||
function fbes_get_events($fbes_api_key, $fbes_api_secret, $fbes_access_token, $fbes_api_uids) {
|
function fbes_get_events($fbes_api_key, $fbes_api_secret, $fbes_access_token, $fbes_api_uids) {
|
||||||
|
|
||||||
require 'facebook-php-sdk/facebook.php'; //modified
|
require_once 'facebook-php-sdk/facebook.php'; //modified
|
||||||
|
|
||||||
$facebook = new Facebook(array(
|
$facebook = new Facebook(array(
|
||||||
'appId' => $fbes_api_key,
|
'appId' => $fbes_api_key,
|
||||||
|
@ -228,7 +228,7 @@ function fbes_options_page() {
|
||||||
update_option('fbes_api_uids', $fbes_api_uids);
|
update_option('fbes_api_uids', $fbes_api_uids);
|
||||||
}
|
}
|
||||||
|
|
||||||
require 'facebook-php-sdk/facebook.php'; //modified
|
require_once 'facebook-php-sdk/facebook.php'; //modified
|
||||||
|
|
||||||
$facebook = new Facebook(array(
|
$facebook = new Facebook(array(
|
||||||
'appId' => $fbes_api_key,
|
'appId' => $fbes_api_key,
|
||||||
|
@ -305,7 +305,7 @@ function fbes_options_page() {
|
||||||
<?php fbes_send_events($events); ?><br />
|
<?php fbes_send_events($events); ?><br />
|
||||||
<span style="color:red;">Events Calendar updated with current Facebook events.</span><br /><br />
|
<span style="color:red;">Events Calendar updated with current Facebook events.</span><br /><br />
|
||||||
</div>
|
</div>
|
||||||
<? } ?>
|
<?php } ?>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue