]> git.mxchange.org Git - friendica-addons.git/commitdiff
require security.php in facebook connector
authorfriendica <info@friendica.com>
Wed, 11 Apr 2012 13:17:53 +0000 (06:17 -0700)
committerfriendica <info@friendica.com>
Wed, 11 Apr 2012 13:17:53 +0000 (06:17 -0700)
facebook.tgz
facebook/facebook.php
piwik.tgz

index 563d39cc8f4965b8f54a60abcc1f2d9504958979..2b643e70c057f8053eb7e0dcb4798211e7ac3a6f 100644 (file)
Binary files a/facebook.tgz and b/facebook.tgz differ
index 70a353dd2ee5f4cfe42876c1c1fb8f9ac768de06..cb1fdee38c8bc71058a68582cc8d9deb2e1c29ba 100755 (executable)
@@ -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>';
index 230c1f50d7798a3ead7a3d67bfc9936a7508b482..a1fc2ecd22ca28e2fbd9e0bcaaee44c4ab9e3e37 100755 (executable)
Binary files a/piwik.tgz and b/piwik.tgz differ