ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE3/plugins/opOpenSocialPlugin/trunk/lib/vendor/Shindig/config/local.php @ 10530

Last change on this file since 10530 was 10530, checked in by ShogoKawahara, 11 years ago

#3500:added 030_security.yml of fixtures to set the security token

File size: 1.5 KB
Line 
1<?php
2$webprefix = sfContext::getInstance()->getController()->genUrl('@homepage');
3$webprefix = preg_replace('/(.+)\/$/',"$1", $webprefix);
4$shindigConfig = array(
5  'debug' => false,
6  'web_prefix' => $webprefix,
7  'default_js_prefix' => $webprefix.'/gadgets/js/',
8  'default_iframe_prefix' => $webprefix.'/gadgets/ifr?',
9
10  'token_cipher_key' => SnsConfigPeer::get('shindig_token_cipher_key'),
11  'token_hmac_key' => SnsConfigPeer::get('shindig_token_hmac_key'),
12  'token_max_age' => SnsConfigPeer::get('shindig_token_max_age', 60*60),
13 
14  'base_path'      => realpath(dirname(__FILE__).'/..').'/',
15  'features_path'  => realpath(dirname(__FILE__) . '/../features').'/',
16  'container_path' => realpath(dirname(__FILE__) . '/../config').'/',
17  'javascript_path'=> realpath(dirname(__FILE__) . '/../javascript').'/',
18
19  'private_key_file' => realpath(dirname(__FILE__) . '/../certs').'/private.key', 
20  'public_key_file'  => realpath(dirname(__FILE__) . '/../certs').'/public.crt',
21  'private_key_phrase' => 'openpne3', 
22  'jsondb_path' => realpath(dirname(__FILE__) . '/../javascript/sampledata').'/canonicaldb.json',
23
24  'remote_content'   => 'opBasicRemoteContent',
25
26  'person_service'   => 'opJsonDbOpensocialService',
27  'activity_service' => 'opJsonDbOpensocialService',
28  'app_data_service' => 'opJsonDbOpensocialService',
29  'messages_service' => 'opJsonDbOpensocialService',
30
31  'cache_time' => SnsConfigPeer::get('shindig_cache_time', 60*60),
32  'cache_root' => sfConfig::get('sf_app_cache_dir').'/plugins/opOpenSocialPlugin',
33
34  'curl_connection_timeout' => '15',
35);
Note: See TracBrowser for help on using the repository browser.