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

Changeset 10606


Ignore:
Timestamp:
Feb 3, 2009, 3:45:17 PM (11 years ago)
Author:
ShogoKawahara
Message:

fixed Shindig configure doesn't load webprefix.js correctly

File:
1 edited

Legend:

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

    r10546 r10606  
    11<?php
    2 $webprefix = sfContext::getInstance()->getController()->genUrl('@homepage');
    3 $webprefix = preg_replace('/(.+)\/$/',"$1", $webprefix);
    42$shindigConfig = array(
    53  'debug' => false,
    6   'web_prefix' => $webprefix,
     4  'web_prefix' => sfContext::getInstance()->getRequest()->getScriptName(),
    75  'default_js_prefix' => $webprefix.'/gadgets/js/',
    86  'default_iframe_prefix' => $webprefix.'/gadgets/ifr?',
Note: See TracChangeset for help on using the changeset viewer.