1
|
<?php
|
2
|
/**
|
3
|
*
|
4
|
* @category modules
|
5
|
* @package captcha_control
|
6
|
* @author WebsiteBaker Project
|
7
|
* @copyright Ryan Djurovich
|
8
|
* @copyright WebsiteBaker Org. e.V.
|
9
|
* @link http://websitebaker.org/
|
10
|
* @license http://www.gnu.org/licenses/gpl.html
|
11
|
* @platform WebsiteBaker 2.8.3
|
12
|
* @requirements PHP 5.3.6 and higher
|
13
|
* @version $Id: install.php 2 2017-07-02 15:14:29Z Manuela $
|
14
|
* @filesource $HeadURL: svn://isteam.dynxs.de/wb/2.10.x/branches/main/modules/captcha_control/install.php $
|
15
|
* @lastmodified $Date: 2017-07-02 17:14:29 +0200 (Sun, 02 Jul 2017) $
|
16
|
*
|
17
|
*/
|
18
|
if(defined('WB_PATH'))
|
19
|
{
|
20
|
// create tables from sql dump file
|
21
|
if (is_readable(__DIR__.'/install-struct.sql')) {
|
22
|
$database->SqlImport(__DIR__.'/install-struct.sql', TABLE_PREFIX, __FILE__ );
|
23
|
}
|
24
|
$msg = 'captcha_control::'.$database->get_error();
|
25
|
}
|