Revision 1895
Added by Dietmar over 11 years ago
install.php | ||
---|---|---|
19 | 19 |
require_once( dirname(dirname(dirname(__FILE__))).'/framework/globalExceptionHandler.php'); |
20 | 20 |
if(!defined('WB_PATH')) { throw new IllegalFileException(); } |
21 | 21 |
/* -------------------------------------------------------- */ |
22 |
$sDefaultSql = dirname(__FILE__).'/install.sql';
|
|
22 |
$sDefaultSql = dirname(__FILE__).'/sql/mod_news.sql';
|
|
23 | 23 |
if (is_readable($sDefaultSql)) { |
24 | 24 |
// create needet database tables and set default records |
25 |
if ($database->SqlImport($sDefaultSql, TABLE_PREFIX)) {
|
|
25 |
if ($database->SqlImport($sDefaultSql, '',false)) {
|
|
26 | 26 |
// Make news post access files dir |
27 | 27 |
require_once(WB_PATH.'/framework/functions.php'); |
28 | 28 |
if(make_dir(WB_PATH.PAGES_DIRECTORY.'/posts')) { |
Also available in: Unified diff
! update jsadmin module and set Version to 1.4.1
! update news module and set Version to 3.8.7