Вход Регистрация
Файл: WoWonder 1.2.1/Update Guide/v1.1/Script/assets/import/hybridauth/config.php
Строк: 57
<?php
require 'assets/init.php';

/**
 * HybridAuth
 * http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
 * (c) 2009-2015, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
 */
// ----------------------------------------------------------------------------------------
//    HybridAuth Config file: http://hybridauth.sourceforge.net/userguide/Configuration.html
// ----------------------------------------------------------------------------------------

    
$LoginWithConfig = array(
            
"base_url" => $config['site_url'] . '/import.php',
            
"providers" => array(
                
// openid providers
                
"OpenID" => array(
                    
"enabled" => true
                
),
                
"Yahoo" => array(
                    
"enabled" => true,
                    
"keys" => array("key" => """secret" => ""),
                ),
                
"AOL" => array(
                    
"enabled" => true
                
),
                
"Google" => array(
                    
"enabled" => true,
                    
"keys" => array("id" => $config['googleAppId'], "secret" => $config['googleAppKey']),
                ),
                
"Facebook" => array(
                    
"enabled" => true,
                    
"keys" => array("id" => $config['facebookAppId'], "secret" => $config['facebookAppKey']),
                    
"trustForwarded" => false
                
),
                
"Twitter" => array(
                    
"enabled" => true,
                    
"keys" => array("key" => $config['twitterAppId'], "secret" => $config['twitterAppKey']),
                    
"includeEmail" => true
                
),
                
"LinkedIn" => array(
                    
"enabled" => true,
                    
"keys" => array("key" => $config['linkedinAppId'], "secret" => $config['linkedinAppKey'])
                ),
                
"Vkontakte" => array(
                    
"enabled" => true,
                    
"keys" => array("id" => $config['VkontakteAppId'], "secret" => $config['VkontakteAppKey'])
                ),
                
                
// windows live
                
"Live" => array(
                    
"enabled" => true,
                    
"keys" => array("id" => """secret" => "")
                ),
                
"Foursquare" => array(
                    
"enabled" => true,
                    
"keys" => array("id" => """secret" => "")
                ),
            ),
            
// If you want to enable logging, set 'debug_mode' to true.
            // You can also set it to
            // - "error" To log only error messages. Useful in production
            // - "info" To log info and error messages (ignore debug messages)
            
"debug_mode" => false,
            
// Path to file writable by the web server. Required if 'debug_mode' is not false
            
"debug_file" => "",
);
Онлайн: 1
Реклама