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

Changeset 10702


Ignore:
Timestamp:
Feb 9, 2009, 12:23:10 PM (13 years ago)
Author:
ShogoKawahara
Message:

#3614:added opOpenSocial:genkey task for generate privatekey and certificate

Location:
OpenPNE3/plugins/opOpenSocialPlugin/trunk
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/plugins/opOpenSocialPlugin/trunk/lib/vendor/Shindig/config/local.php

    r10607 r10702  
    1414  'token_max_age' => SnsConfigPeer::get('shindig_token_max_age', 60*60),
    1515 
    16   'base_path'      => realpath(dirname(__FILE__).'/..').'/',
    17   'features_path'  => realpath(dirname(__FILE__) . '/../features').'/',
    18   'container_path' => realpath(dirname(__FILE__) . '/../config').'/',
    19   'javascript_path'=> realpath(dirname(__FILE__) . '/../javascript').'/',
     16  'base_path'      => sfConfig::get('sf_plugins_dir').'/opOpenSocialPlugin/lib/vendor/Shindig/',
     17  'features_path'  => sfConfig::get('sf_plugins_dir').'/opOpenSocialPlugin/lib/vendor/Shindig/features/',
     18  'container_path' => sfConfig::get('sf_plugins_dir').'/opOpenSocialPlugin/lib/vendor/Shindig/config/',
    2019
    21   'private_key_file' => realpath(dirname(__FILE__) . '/../certs').'/private.key',
    22   'public_key_file'  => realpath(dirname(__FILE__) . '/../certs').'/public.crt',
    23   'private_key_phrase' => 'openpne3',
    24   'jsondb_path' => realpath(dirname(__FILE__) . '/../javascript/sampledata').'/canonicaldb.json',
    25 
     20  'private_key_file' => sfConfig::get('sf_plugins_dir').'/opOpenSocialPlugin/certs/private.key',
     21  'public_key_file'  => sfConfig::get('sf_plugins_dir').'/opOpenSocialPlugin/certs/public.crt',
     22  'private_key_phrase' => SnsConfigPeer::get('shindig_private_key_phrase'),
    2623
    2724  'remote_content'        => 'opBasicRemoteContent',
  • OpenPNE3/plugins/opOpenSocialPlugin/trunk/lib/vendor/Shindig/src/common/Config.php

    r10296 r10702  
    3535      include_once 'config/container.php';
    3636      self::$config = $shindigConfig;
    37       if (file_exists(realpath(dirname(__FILE__).'/../../config/local.php'))) {
     37      if (file_exists(sfConfig::get('sf_plugins_dir').'/opOpenSocialPlugin/lib/vendor/Shindig/config/local.php')) {
    3838        // include local.php if it exists and merge the config arrays.
    3939        // the second array values overwrites the first one's
Note: See TracChangeset for help on using the changeset viewer.