mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Close Connection when there is no connection value.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
034a5c0288
commit
f70ce644ce
1410 changed files with 7188 additions and 53541 deletions
|
|
@ -96,13 +96,16 @@ class pointAdminController extends point
|
|||
{
|
||||
$args = Context::getRequestVars();
|
||||
|
||||
foreach($args as $key => $val)
|
||||
$configTypeList = array('insert_document', 'insert_comment', 'upload_file', 'download_file', 'read_document', 'voted', 'blamed');
|
||||
foreach($configTypeList AS $config)
|
||||
{
|
||||
preg_match("/^(insert_document|insert_comment|upload_file|download_file|read_document|voted|blamed)_([0-9]+)$/", $key, $matches);
|
||||
if(!$matches[1]) continue;
|
||||
$name = $matches[1];
|
||||
$module_srl = $matches[2];
|
||||
if(strlen($val)>0) $module_config[$module_srl][$name] = (int)$val;
|
||||
if(is_array($args->{$config}))
|
||||
{
|
||||
foreach($args->{$config} AS $key=>$value)
|
||||
{
|
||||
$module_config[$key][$config] = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$oModuleController = &getController('module');
|
||||
|
|
@ -197,7 +200,7 @@ class pointAdminController extends point
|
|||
*/
|
||||
function procPointAdminReCal()
|
||||
{
|
||||
set_time_limit(0);
|
||||
@set_time_limit(0);
|
||||
// Get per-module points information
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('point');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue