mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
issue 2259 removed the agreement file when delete agreement text in member configuration.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@11047 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
50cc3813b9
commit
022b44b744
1 changed files with 6 additions and 1 deletions
|
|
@ -166,7 +166,12 @@
|
|||
if($args->enable_confirm !='Y') $args->enable_confirm = 'N';
|
||||
$args->limit_day = (int)$args->limit_day;
|
||||
if(!$args->change_password_date) $args->change_password_date = 0;
|
||||
if(!trim(strip_tags($args->agreement))) $args->agreement = null;
|
||||
if(!trim(strip_tags($args->agreement)))
|
||||
{
|
||||
$agreement_file = _XE_PATH_.'files/member_extra_info/agreement_' . Context::get('lang_type') . '.txt';
|
||||
FileHandler::removeFile($agreement_file);
|
||||
$args->agreement = null;
|
||||
}
|
||||
if(!trim(strip_tags($args->after_login_url))) $args->after_login_url = null;
|
||||
if(!trim(strip_tags($args->after_logout_url))) $args->after_logout_url = null;
|
||||
if(!trim(strip_tags($args->redirect_url))) $args->redirect_url = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue