1 |
1420
|
Luisehahne
|
<?php
|
2 |
|
|
/**
|
3 |
|
|
*
|
4 |
|
|
* @category modules
|
5 |
|
|
* @package output_filter
|
6 |
1520
|
darkviper
|
* @author Christian Sommer, WB-Project, Werner v.d. Decken
|
7 |
1892
|
Luisehahne
|
* @copyright 20096-2012, WebsiteBaker Org. e.V.
|
8 |
|
|
* @link http://www.websitebaker2.org/
|
9 |
1420
|
Luisehahne
|
* @license http://www.gnu.org/licenses/gpl.html
|
10 |
1520
|
darkviper
|
* @platform WebsiteBaker 2.8.2
|
11 |
1420
|
Luisehahne
|
* @requirements PHP 5.2.2 and higher
|
12 |
|
|
* @version $Id$
|
13 |
1892
|
Luisehahne
|
* @filesource $HeadURL$
|
14 |
1420
|
Luisehahne
|
* @lastmodified $Date$
|
15 |
|
|
*
|
16 |
|
|
*/
|
17 |
1520
|
darkviper
|
/* -------------------------------------------------------- */
|
18 |
|
|
// Must include code to stop this file being accessed directly
|
19 |
1892
|
Luisehahne
|
if(!defined('WB_PATH')) {
|
20 |
|
|
require_once(dirname(dirname(dirname(__FILE__))).'/framework/globalExceptionHandler.php');
|
21 |
|
|
throw new IllegalFileException();
|
22 |
|
|
} else {
|
23 |
|
|
$sError = array();
|
24 |
|
|
// Create table
|
25 |
|
|
if(!$database->SqlImport(dirname(__FILE__).'/sql/mod_output_filter.sql','',false)){
|
26 |
|
|
$sError[] = $database->get_error();
|
27 |
|
|
}
|
28 |
|
|
// Create table
|
29 |
|
|
if(!$database->SqlImport(dirname(__FILE__).'/sql/data_output_filter.sql','',false)){
|
30 |
|
|
$sError[] = $database->get_error();
|
31 |
|
|
}
|
32 |
|
|
}
|