Changed testing flag on vault
This commit is contained in:
parent
d53f29a15e
commit
d790121520
11
vendors/shells/vault.php
vendored
11
vendors/shells/vault.php
vendored
|
|
@ -27,7 +27,7 @@ class VaultShell extends Shell {
|
||||||
/******************************************************
|
/******************************************************
|
||||||
* Config Variables
|
* Config Variables
|
||||||
* *****************************************************/
|
* *****************************************************/
|
||||||
$testing = 1; //Whether to actually move the emails. 1=test, 0=production
|
$testing = 0; //Whether to actually move the emails. 1=test, 0=production
|
||||||
|
|
||||||
|
|
||||||
if($testing == 1) {
|
if($testing == 1) {
|
||||||
|
|
@ -97,9 +97,9 @@ class VaultShell extends Shell {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(file_exists($processed_dir."/".$email_filename)) {
|
/*if(file_exists($processed_dir."/".$email_filename)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
$content = file_get_contents($vault_dir."/".$email_filename);
|
$content = file_get_contents($vault_dir."/".$email_filename);
|
||||||
|
|
||||||
|
|
@ -114,13 +114,8 @@ class VaultShell extends Shell {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//Handle files coming from windows (\r\n vs \n):
|
|
||||||
// Thanks to Dan Hulme (dhulme@gmail.com)
|
|
||||||
$content = str_replace("\r", "", $content);
|
$content = str_replace("\r", "", $content);
|
||||||
|
|
||||||
// Keep a copy of the original file
|
|
||||||
//$raw=$content;
|
|
||||||
|
|
||||||
$headers = imap_rfc822_parse_headers($content);
|
$headers = imap_rfc822_parse_headers($content);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue