mirror of
https://github.com/avecms/AVE.cms.git
synced 2025-01-22 07:20:07 +00:00
25 lines
469 B
PHP
25 lines
469 B
PHP
<?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();
|
|
?>
|