source: spip-zone/_plugins_/gfc/gfc_options.php @ 31939

Last change on this file since 31939 was 31939, checked in by kent1@…, 11 years ago

Premières grosses modification :

  • On met la librairie open-social api en lib externe pour éviter de surcharger la zone sans que cela soit nécessaire
  • On revoit un chouilla la modification des tables en passant par maj_tables
  • Plusieurs autres petites choses

On repasse en état dev et on incrémente la version en 1.1

File size: 685 bytes
Line 
1<?php
2
3/**
4 * Definition du repertoire de l'api opensocial
5 * (telechargee automatiquement ou manuellement a l'installation
6 */
7define('_DIR_OSAPI',_DIR_RACINE.'lib/opensocial-php-client/osapi/');
8// USER CONFIG
9
10//consumer id
11$GLOBALS['gfc']['consumer_id'] = '';
12//consumer key
13$GLOBALS['gfc']['consumer_key'] = '';
14//consumer secret
15$GLOBALS['gfc']['consumer_secret'] = '';
16//email of members automatically created with this plugin
17$GLOBALS['gfc']['default_email'] = 'nobody@noone.com';
18
19//END USER CONFIG
20
21$GLOBALS['gfc']['cookie_name'] = 'fcauth'.$GLOBALS['gfc']['consumer_id'];
22$GLOBALS['gfc']['cookie_value'] = $_COOKIE[$GLOBALS['gfc']['cookie_name']];
23?>
Note: See TracBrowser for help on using the repository browser.