mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
issue 873 add multilanguage agreement.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10966 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1d4bb452d0
commit
9d9b6f1c12
3 changed files with 15 additions and 4 deletions
|
|
@ -35,8 +35,8 @@
|
|||
}
|
||||
|
||||
// Get terms of user
|
||||
$agreement_file = _XE_PATH_.'files/member_extra_info/agreement.txt';
|
||||
if(!$config->agreement && file_exists($agreement_file)) $config->agreement = FileHandler::readFile($agreement_file);
|
||||
$agreement_file = _XE_PATH_.'files/member_extra_info/agreement_' . Context::get('lang_type') . '.txt';
|
||||
if(is_readable($agreement_file)) $config->agreement = FileHandler::readFile($agreement_file);
|
||||
|
||||
if(!$config->webmaster_name) $config->webmaster_name = 'webmaster';
|
||||
if(!$config->image_name_max_width) $config->image_name_max_width = 90;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue