mirror of https://github.com/avecms/AVE.cms.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
469 B
25 lines
469 B
<?php |
|
|
|
/** |
|
* AVE.cms |
|
* |
|
* @package AVE.cms |
|
* @version 3.x |
|
* @filesource |
|
* @copyright © 2007-2014 AVE.cms, http://www.ave-cms.ru |
|
* |
|
* @license GPL v.2 |
|
*/ |
|
|
|
define('BASE_DIR', str_replace("\\", "/", dirname(dirname(__FILE__)))); |
|
|
|
require(BASE_DIR . '/inc/init.php'); |
|
|
|
unset($_SESSION['captcha_keystring']); |
|
|
|
require(BASE_DIR . '/lib/kcaptcha/kcaptcha.php'); |
|
|
|
$captcha = new KCAPTCHA(); |
|
|
|
$_SESSION['captcha_keystring'] = $captcha->getKeyString(); |
|
?>
|