mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 07:52:13 +09:00
fixed install message css error
remove whitespace in member info error install member module (created rulset file) error null check memberInfo git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9504 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
51a84b0148
commit
3ff9d7af44
6 changed files with 72 additions and 47 deletions
|
|
@ -20,6 +20,7 @@
|
|||
// Create a directory to use in the module module
|
||||
FileHandler::makeDir('./files/cache/module_info');
|
||||
FileHandler::makeDir('./files/cache/triggers');
|
||||
FileHandler::makeDir('./files/ruleset');
|
||||
// Insert site information into the sites table
|
||||
$args->site_srl = 0;
|
||||
$output = $oDB->executeQuery('module.getSite', $args);
|
||||
|
|
@ -76,6 +77,8 @@
|
|||
|
||||
if(!$oDB->isColumnExists("module_config", "site_srl")) return true;
|
||||
|
||||
if(!is_dir('./files/ruleset')) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -311,6 +314,7 @@
|
|||
if(!$oDB->isColumnExists("module_config", "site_srl")){
|
||||
$oDB->addColumn('module_config', 'site_srl', 'number', 11, 0, true);
|
||||
}
|
||||
FileHandler::makeDir('./files/ruleset');
|
||||
return new Object(0, 'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue