1
0
Fork 0

require_once

This commit is contained in:
Martin Geno 2015-12-10 16:06:44 +01:00
parent c7c7d6a73e
commit 3e8d343a4b
1 changed files with 34 additions and 34 deletions

View File

@ -57,7 +57,7 @@ function fbes_process_events() {
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(
'appId' => $fbes_api_key,
@ -228,7 +228,7 @@ function fbes_options_page() {
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(
'appId' => $fbes_api_key,
@ -305,7 +305,7 @@ function fbes_options_page() {
<?php fbes_send_events($events); ?><br />
<span style="color:red;">Events Calendar updated with current Facebook events.</span><br /><br />
</div>
<? } ?>
<?php } ?>
<?php
}