Project

General

Profile

1 2 Manuela
<?php
2
/**
3
 *
4
 * @category        modules
5
 * @package         JsAdmin
6
 * @author          WebsiteBaker Project, modified by Swen Uth for WebsiteBaker 2.7
7
 * @copyright       Stepan Riha, WebsiteBaker Org. e.V.
8
 * @link            http://websitebaker.org/
9
 * @license         http://www.gnu.org/licenses/gpl.html
10
 * @platform        WebsiteBaker 2.8.3
11
 * @requirements    PHP 5.3.6 and higher
12
 * @version         $Id$
13
 * @filesource      $HeadURL$
14
 * @lastmodified    $Date$
15
 *
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
        $database->SqlImport(__DIR__.'/install-data.sql', TABLE_PREFIX, __FILE__ );
24
    }
25
26
}