mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Update to use norsh flag
This commit is contained in:
parent
a6f8a2428e
commit
2ba01be7ce
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
// Change these to make tests run successfully
|
// Change these to make tests run successfully
|
||||||
$server = '{localhost}';
|
$server = '{localhost/norsh}';
|
||||||
$default_mailbox = $server . "INBOX";
|
$default_mailbox = $server . "INBOX";
|
||||||
$domain = "something.com";
|
$domain = "something.com";
|
||||||
$admin_user = "webmaster"; // a user with admin access
|
$admin_user = "webmaster"; // a user with admin access
|
||||||
|
@ -147,4 +147,4 @@ function get_mailbox_name($mailbox){
|
||||||
return $match[1];
|
return $match[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
extension_loaded('imap') or die('skip imap extension not available in this build');
|
extension_loaded('imap') or die('skip imap extension not available in this build');
|
||||||
|
|
||||||
// Change these to make tests run successfully
|
// Change these to make tests run successfully
|
||||||
$mailbox = '{localhost}';
|
$mailbox = '{localhost/norsh}';
|
||||||
$username = 'webmaster@something.com';
|
$username = 'webmaster@something.com';
|
||||||
$password = 'p4ssw0rd';
|
$password = 'p4ssw0rd';
|
||||||
$options = OP_HALFOPEN; // this should be enough to verify server present
|
$options = OP_HALFOPEN; // this should be enough to verify server present
|
||||||
|
@ -13,4 +13,4 @@ if (!$mbox) {
|
||||||
die("skip could not connect to mailbox $mailbox");
|
die("skip could not connect to mailbox $mailbox");
|
||||||
}
|
}
|
||||||
imap_close($mbox);
|
imap_close($mbox);
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue