mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
I changed the method to include PHPMailer class according to php version used on servers.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10062 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bebf56cdbb
commit
353a842d68
1 changed files with 8 additions and 1 deletions
|
|
@ -1,5 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
require_once _XE_PATH_ . "libs/phpmailer/phpmailer.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";
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Mailing class for XpressEngine
|
* @brief Mailing class for XpressEngine
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue