| 1 | 1457 | Luisehahne | <?php
 | 
      
        | 2 |  |  | /**
 | 
      
        | 3 |  |  |  *
 | 
      
        | 4 |  |  |  * @category        modules
 | 
      
        | 5 |  |  |  * @package         wysiwyg
 | 
      
        | 6 |  |  |  * @author          WebsiteBaker Project
 | 
      
        | 7 | 1896 | Luisehahne |  * @copyright       2009-2013, WebsiteBaker Org. e.V.
 | 
      
        | 8 |  |  |  * @link            http://www.websitebaker2.org/
 | 
      
        | 9 | 1457 | Luisehahne |  * @license         http://www.gnu.org/licenses/gpl.html
 | 
      
        | 10 | 1652 | Luisehahne |  * @platform        WebsiteBaker 2.8.3
 | 
      
        | 11 | 1457 | Luisehahne |  * @requirements    PHP 5.2.2 and higher
 | 
      
        | 12 | 1896 | Luisehahne |  * @version         $Id$
 | 
      
        | 13 |  |  |  * @filesource      $HeadURL$
 | 
      
        | 14 | 1457 | Luisehahne |  * @lastmodified    $Date$
 | 
      
        | 15 |  |  |  *
 | 
      
        | 16 |  |  |  */
 | 
      
        | 17 | 1538 | Luisehahne | /* -------------------------------------------------------- */
 | 
      
        | 18 | 1576 | darkviper | // Must include code to stop this file being accessed directly
 | 
      
        | 19 |  |  | if(!defined('WB_PATH')) {
 | 
      
        | 20 | 1652 | Luisehahne | 	require_once(dirname(dirname(dirname(__FILE__))).'/framework/globalExceptionHandler.php');
 | 
      
        | 21 | 1576 | darkviper | 	throw new IllegalFileException();
 | 
      
        | 22 | 1758 | Luisehahne | } else {
 | 
      
        | 23 | 1457 | Luisehahne | 	// Create table
 | 
      
        | 24 | 1896 | Luisehahne | 	$aError = array();
 | 
      
        | 25 |  |  | 	// Create table
 | 
      
        | 26 |  |  | 	if(!$database->SqlImport(dirname(__FILE__).'/sql/mod_wysiwyg.sql','',false)){
 | 
      
        | 27 |  |  | 		$aError[] = $database->get_error();
 | 
      
        | 28 |  |  | 	}
 | 
      
        | 29 | 1457 | Luisehahne | 
 | 
      
        | 30 | 1576 | darkviper | // remove old version of search (deprecated)
 | 
      
        | 31 | 1758 | Luisehahne | 
 | 
      
        | 32 | 1457 | Luisehahne | }
 |