Version 3.4.8
This commit is contained in:
1 parent
b45ea0dffb
commit
c603205a25
1398 files changed
+36675
-31023
No files matched your search
@@ -2,19 +2,19 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Parse Incoming Emails
|
||||
* Last Updated: $Date: 2013-05-08 17:43:20 -0400 (Wed, 08 May 2013) $
|
||||
* Last Updated: $Date: 2015-04-02 13:29:54 -0400 (Thu, 02 Apr 2015) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @author $Author: rashbrook $
|
||||
* @copyright © 2010 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Kernel
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 25th June 2010
|
||||
* @version $Revision: 12240 $
|
||||
* @version $Revision: 12616 $
|
||||
*/
|
||||
|
||||
class incomingEmail
|
||||
@@ -208,7 +208,7 @@ class incomingEmail
|
||||
if ( $log['log_id'] )
|
||||
{
|
||||
$oneMinuteAgo = time() - 60;
|
||||
if ( $log['log_time'] > $oneMinuteAgo && $this->settings['sixty_second_rule'] )
|
||||
if ( $log['log_time'] > $oneMinuteAgo && $obj->settings['sixty_second_rule'] )
|
||||
{
|
||||
$ignore = TRUE;
|
||||
}
|
||||
@@ -741,6 +741,7 @@ class incomingEmail
|
||||
$masked_name = md5( uniqid( 'email' ) . microtime() ) . "-{$name}";
|
||||
}
|
||||
file_put_contents( $this->settings['upload_dir'] . "/{$masked_name}", $part->body );
|
||||
@chmod( $this->settings['upload_dir'] . "/{$masked_name}", IPS_FILE_PERMISSION );
|
||||
|
||||
/* Store attachment data */
|
||||
$this->akey++;
|
||||
|
||||
Reference in new issue
Block a user