mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#242 object cache 정리
This commit is contained in:
parent
d4d43c1382
commit
37c5e114ec
20 changed files with 513 additions and 253 deletions
|
|
@ -859,6 +859,19 @@ function delObjectVars($target_obj, $del_obj)
|
|||
return $return_obj;
|
||||
}
|
||||
|
||||
function getDestroyXeVars(&$vars)
|
||||
{
|
||||
$del_vars = array('error_return_url', 'success_return_url', 'ruleset', 'xe_validator_id');
|
||||
|
||||
foreach($del_vars as $var)
|
||||
{
|
||||
if(is_array($vars)) unset($vars[$var]);
|
||||
else if(is_object($vars)) unset($vars->$var);
|
||||
}
|
||||
|
||||
return $vars;
|
||||
}
|
||||
|
||||
/**
|
||||
* Change error_handing to debugPrint on php5 higher
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue