issue 855 apply agreement in dbms

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9806 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-11-07 09:58:06 +00:00
parent 1b56417f47
commit 4c68e2933f

View file

@ -36,7 +36,7 @@
// Get terms of user
$agreement_file = _XE_PATH_.'files/member_extra_info/agreement.txt';
if(file_exists($agreement_file)) $config->agreement = FileHandler::readFile($agreement_file);
if(!$config->agreement && file_exists($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;