Example #1
0
<?php

/**
 * Configuration for PVL Third-Party APIs.
 */
return array('pvl_api_key' => '', 'pvlnode_local_url' => 'http://localhost:4001/data', 'pvlnode_remote_url' => 'http://localhost:8080/', 'pvlnode_remote_path' => '/live', 'amazon_aws' => array('access_key_id' => '', 'secret_access_key' => '', 's3_bucket' => 'uploads.ponyvillelive.com'), 'smtp' => array('server' => 'smtp.mandrillapp.com', 'port' => '587', 'auth' => 'login', 'username' => '', 'password' => ''), 'cloudflare' => array('domain' => 'ponyvillelive.com', 'email' => '', 'api_key' => ''), 'google_apis_key' => '', 'twitter' => array('consumer_key' => '', 'consumer_secret' => '', 'user_token' => '', 'user_secret' => '', 'curl_ssl_verifyhost' => 0, 'curl_ssl_verifypeer' => false), 'tumblr' => array("key" => '', "secret" => ''), 'notifico_push_url' => '', 'hybrid_auth' => array('base_url' => \DF\Url::baseUrl(), 'debug_mode' => false, 'debug_file' => '', 'providers' => array("OpenID" => array("enabled" => true), "Google" => array("enabled" => true, "keys" => array("id" => "", "secret" => "")), "Facebook" => array("enabled" => true, "keys" => array("id" => "", "secret" => ""), "scope" => "email, user_about_me"), "Twitter" => array("enabled" => true, "keys" => array("key" => "", "secret" => "")), "Tumblr" => array("enabled" => true, "keys" => array("key" => "", "secret" => "")), "Poniverse" => array("enabled" => true, "keys" => array("id" => '', "secret" => '')))), 'centovacast' => array('host' => '198.27.112.218', 'db_user' => 'centova', 'db_pass' => '', 'db_name' => 'centova', 'timezone' => 'US/Eastern'), 'recaptcha' => array('public_key' => '', 'private_key' => ''));
Example #2
0
 protected function redirectToReferrer($default = false)
 {
     if (!$default) {
         $default = Url::baseUrl();
     }
     return $this->redirect(Url::referrer($default));
 }