Ignore:
Timestamp:
Jan 25, 2013, 11:29:14 AM (12 years ago)
Author:
mistic100
Message:

complete Instagram help

Location:
extensions/oAuth/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/oAuth/include/functions.inc.php

    r20293 r20368  
    44function load_hybridauth_conf()
    55{
    6   global $hybridauth_conf;
     6  global $hybridauth_conf, $conf;
    77 
    88  if (file_exists(PHPWG_ROOT_PATH.OAUTH_CONFIG))
     
    1010    $hybridauth_conf = include(PHPWG_ROOT_PATH.OAUTH_CONFIG);
    1111    $hybridauth_conf['base_url'] = OAUTH_PUBLIC;
     12    if (!empty($conf['oauth_debug_file']))
     13    {
     14      $hybridauth_conf['debug_mode'] = true;
     15      $hybridauth_conf['debug_file'] = $conf['oauth_debug_file'];
     16    }
    1217    return true;
    1318  }
  • extensions/oAuth/include/providers_stats.inc.php

    r20337 r20368  
    2323    'label'             => 'Instagram',
    2424    'provider_name'     => 'Instagram',
     25    'callback'          => true,
     26    'require_client_id' => true,
    2527    'new_app_link'      => 'http://instagram.com/developer/clients/manage',
    2628    'userguide_section' => null,
Note: See TracChangeset for help on using the changeset viewer.