PHP Classes

File: application/config/gcaptcha.php

Recommend this page to a friend!
  Classes of Eray Akartuna   CodeIgniter ReCaptcha plugin   application/config/gcaptcha.php   Download  
File: application/config/gcaptcha.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: CodeIgniter ReCaptcha plugin
Perform validation using Recaptcha in CodeIgniter
Author: By
Last change:
Date: 7 years ago
Size: 1,077 bytes
 

Contents

Class file image Download
<?php defined('BASEPATH') OR exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
| Google ReCaptcha Enable
|--------------------------------------------------------------------------
*/
$config['enable_gcaptcha'] = true;

/*
|--------------------------------------------------------------------------
| Google Captcha Server Secret Code
|--------------------------------------------------------------------------
*/
$config['gcaptcha_server_secret'] = '';

/*
|--------------------------------------------------------------------------
| Google Captcha Client Secret Code
|--------------------------------------------------------------------------
*/
$config['gcaptcha_client_secret'] = '';

/*
|--------------------------------------------------------------------------
| Google ReCaptcha Link
|--------------------------------------------------------------------------
|
| I don't recommend to change google recaptcha link!
|
*/
$config['gcaptcha_link'] = 'https://www.google.com/recaptcha/api/siteverify';