Skip to content

불필요한 PHP4용 코드 삭제 #1370

@YJSoft

Description

@YJSoft

classes/mail/Mail.class.php 파일의

if(version_compare(PHP_VERSION, '5.0.0', '>='))
{
    require_once _XE_PATH_ . "libs/phpmailer/phpmailer.php";
}
else
{
    require_once _XE_PATH_ . "libs/phpmailer/class.phpmailer.php";
}

classes/db/DB.class.php 파일의

if(version_compare(phpversion(), '5.0') < 0 && preg_match('/pdo/i', $db_type))
{
    continue;
}

이외에도 htmlpurifier쪽에도 관련 코드가 남아 있으나 코어쪽이 아니므로 제외했습니다.

XE는 이미 PHP4를 지원하지 않으니 PHP4용 코드가 XE에 여전히 남아 있습니다.
어차피 PHP4에서는 사용조차 되지 않으므로, 위 코드는 삭제되어도 괜찮을듯 싶습니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions