mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 06:03:41 +00:00
require security.php in facebook connector
This commit is contained in:
parent
01ed8dafa1
commit
ee582bf692
3 changed files with 3 additions and 0 deletions
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
|
@ -59,6 +59,7 @@ define('FACEBOOK_SESSION_ERR_NOTIFICATION_INTERVAL', 259200); // 3 days
|
|||
define('FACEBOOK_DEFAULT_POLL_INTERVAL', 60); // given in minutes
|
||||
define('FACEBOOK_MIN_POLL_INTERVAL', 5);
|
||||
|
||||
require_once('include/security.php');
|
||||
|
||||
function facebook_install() {
|
||||
register_hook('post_local', 'addon/facebook/facebook.php', 'facebook_post_local');
|
||||
|
@ -648,6 +649,8 @@ function facebook_plugin_settings(&$a,&$b) {
|
|||
|
||||
|
||||
function facebook_plugin_admin(&$a, &$o){
|
||||
|
||||
|
||||
$o = '<input type="hidden" name="form_security_token" value="' . get_form_security_token("fbsave") . '">';
|
||||
|
||||
$o .= '<h4>' . t('Facebook API Key') . '</h4>';
|
||||
|
|
BIN
piwik.tgz
BIN
piwik.tgz
Binary file not shown.
Loading…
Reference in a new issue